Web form with live preview (ToPWR mock app) for submiting or changing information about your Scientific Club / Student Organization / Student Media / Cultural Agenda. Made to gather information for ToPWR mobile app, comprehensive tour guide over Wroclaw University of Science and Technology (WUST).
- ToPWR mobile flutter application: https://github.com/Solvro/mobile-topwr
- ToPWR sci clubs/orgs scraper and scripts: https://github.com/Solvro/script-topwr-science-clubs
This is Flutter project, at the moments works only in the web version (best with html renderer destination)
- You need working Firebase project with Firestore, Storage and Auth
- install firebase cli and run
flutterfire configure
to generatefirebase_options.dart
. You need to choose onlyweb
target. https://firebase.google.com/docs/web/setup
- Set up CORS in cloud storage
gcloud storage buckets update gs://example_bucket --cors-file=firebase_cors.json
https://cloud.google.com/storage/docs/cors-configurations
- You need to run code generation with
dart run build_runner build -d
- Run the project for web
flutter run -d chrome --web-renderer html
so i can remember it as well :) if you don't know what caprover is: https://caprover.com/
flutter build web --web-renderer html
tar -cvf ./deploy.tar ./captain-definition ./build/web/*
caprover deploy -t ./deploy.tar
OR use reade made make command:
make captain-deploy // without fvm
make fvm-captain-deploy // for fvm usage