A new Flutter project.
- git clone
- Deploy II to local envioronment, see IC_ENV
- Run bootstrap script
dart ./scripts/prepare.dart
for more help, you can pass --help
to see detail
❯ dart ./scripts/bootstrap.dart --help
-h, --help Displays this help information.
--[no-]production Whether to use development environment.
-d, --deploy Would you like to deploy canister
(defaults to "./canister")
-i, --ii II canister
(defaults to "rwlgt-iiaaa-aaaaa-aaaaa-cai")
- Run flutter, change endpoint from
localhost
to10.0.2.2
inlib.main
if you use android emulator
flutter run