Documentation

Trace: Build release

(flutterui)

Build release

This is an old revision of the document!


Build script

Requirements

Flutter version 2.5.2 is required.

The build script requires Node.js. Simply check versions:

node -v
npm -v

Download and install Node.js: https://nodejs.org/en/

Run npm install to install all depending npm packages.

(Windows only) Add the full path of flutterclient/node_modules/.bin/ to %PATH% variables.

Commands

The results can be found in deploy directory.

Web

flutter doctor -v
flutter config --enable-web

Start build

npm run buildweb

Android

npm run buildandroid

iOS

npm run buildios

Build number

npm run increasebuildnumber  

Manual

Web

flutter doctor -v
flutter config --enable-web

Run the web variant:

flutter run -d chrome  

Build the release:

flutter build web

The result can be found in build/web directory.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information