https://github.com/solvro/web-topwr-sci-clubs-form
Web form with app's live preview to gather sci clubs / orgs info for ToPWR mobile app
https://github.com/solvro/web-topwr-sci-clubs-form
flutter form pwr student web wust
Last synced: 2 months ago
JSON representation
Web form with app's live preview to gather sci clubs / orgs info for ToPWR mobile app
- Host: GitHub
- URL: https://github.com/solvro/web-topwr-sci-clubs-form
- Owner: Solvro
- License: agpl-3.0
- Created: 2024-06-17T13:46:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T15:16:39.000Z (7 months ago)
- Last Synced: 2025-04-07T17:11:12.531Z (7 months ago)
- Topics: flutter, form, pwr, student, web, wust
- Language: Dart
- Homepage: https://formularz.solvro.pl
- Size: 4.59 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ToPWR SciClubs form

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](https://github.com/Solvro/mobile-topwr), comprehensive tour guide over Wroclaw University of Science and Technology (WUST).
# See also
- 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
# 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
- install firebase cli and run `flutterfire configure` to generate `firebase_options.dart`. You need to choose only `web` target.
https://firebase.google.com/docs/web/setup
2. Set up CORS in cloud storage
```bash
gcloud storage buckets update gs://example_bucket --cors-file=firebase_cors.json
```
https://cloud.google.com/storage/docs/cors-configurations
2. You need to run code generation with
```bash
dart run build_runner build -d
```
3. Run the project for web
```bash
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/
```bash
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:
```bash
make captain-deploy // without fvm
make fvm-captain-deploy // for fvm usage
```