Skip to content

nervosnetwork/mandrake

Repository files navigation

mandrake

Mandrake CI

Mandrake is still under active development and considered to be a work in progress.

The Animagus GUI.

Requirements

Mandrake is a Flutter app. Follow the Flutter SDK installation instructions to set up.

Mandrake runs as web app or macOS desktop app. It requires different Flutter channels to run, respectively:

web:

flutter channel beta
flutter upgrade
flutter config --enable-web

macOS desktop:

flutter channel dev
flutter upgrade
flutter config --enable-macos-desktop

Refer to Desktop support for Flutter for more information.

Generate JSON serialization code

Several mode classes use json_serializable to generate code. To re-generate, run:

flutter pub run build_runner build

Generated code files are named after file.g.dart, where file is the normal model file name.