Getting Started
1. Install Flutter
Install the latest Stable version of Flutter
Recommended: Use Flutter Version Manager to install Flutter (https://github.com/leoafarias/fvm)
2. Install the Android SDK
Recommended : Use Android Studio to configure the Android SDK and your virtual device
Install Android Studio
In the Settings go to Languages & Frameworks and select Flutter.
Select the correct path for Flutter SDK
Do the same for the Dart SDK
3. Run the backend
Install docker
Clone the backend repo
Run
docker compose up -d
4. Configure firebase
Install the Firebase CLI
Run
firebase loginto log in Firebase on your PCLog in your Google Account
Create a new firebase project
Install
flutterfirewithdart pub global activate flutterfire_cliDelete the
firebase.jsonfile at the app root directoryRun this command to configure firebase for the dev flavor :
5. Set up the config
Copy
assets/configs/config.example.jsontodev.jsonEdit
envto devEdit
restApiUrlwithhttp://localhost:8080Change any other settings you might want to
6. Install dependencies
7. Run Codegen
8. Select your device
Launch your virtual Android device or select your physical device in your IDE (using the command palette on Visual Studio Code or in the top menu bar on Android Studio / JetBrains IDE)
9. Run the App
To run the app in the dev flavor, ie with the dev configurations we set before :
Last updated