Yoga competition application frontend (Flutter).
Install dependencies:
flutter pub getRun the app with a profile entrypoint:
flutter run -t lib/main_qa.dartThis project uses separate entrypoints to set environment configuration:
lib/main_qa.dart-> QA (https://ghopon.com/yogatest)lib/main_prod.dart-> Production (https://ghopon.com/school)
Build web for QA deployment:
flutter build web --release -t lib/main_qa.dartIf QA is hosted under a subpath, set the base href accordingly:
flutter build web --release -t lib/main_qa.dart --base-href /yogatest/Build web for production:
flutter build web --release -t lib/main_prod.dartBuild output is generated in build/web/.