syncrow_web
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
USEFUL COMMANDS
-
Building for the Web
- CanvasKit
flutter build web --web-renderer canvaskit -t lib/main_dev.dart --output=build/web_dev
- build for DEVELOPMENT.flutter build web --web-renderer canvaskit -t lib/main_staging.dart --output=build/web_stg
- build for STAGING.flutter build web --web-renderer canvaskit -t lib/main.dart --output=build/web
- build for PRODUCTION.
- CanvasKit
-
run command:
flutter run -d chrome --target=lib/main_dev.dart
CDK Deployment
• Bootstrap CDK (first time only): npx cdk bootstrap aws://482311766496/me-central-1 • List available stacks: npx cdk list • Deploy web: npx cdk deploy --require-approval never • View changes before deploy: npx cdk diff • Generate CloudFormation template: npx cdk synth • Destroy infrastructure: npx cdk destroy • Web infrastructure is configured in infrastructure/web-stack.ts • After code changes: build Flutter web app and deploy to hosting service