Skip to content

Web form with app's live preview to gather sci clubs / orgs info for ToPWR mobile app

License

Notifications You must be signed in to change notification settings

Solvro/web-topwr-sci-clubs-form

Repository files navigation

ToPWR SciClubs form

KN Solvro banner

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).

See also

Developement

This is Flutter project, at the moments works only in the web version (best with html renderer destination)

  1. You need working Firebase project with Firestore, Storage and Auth
  1. 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

  1. You need to run code generation with
dart run build_runner build -d
  1. Run the project for web
flutter run -d chrome --web-renderer html

Caprover deploy

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