Branch | Status |
---|---|
main | |
develop |
Name | Student ID | |
---|---|---|
Nathan Grenier | 40250986 | [email protected] |
Sumer Abd Alla | 40247712 | [email protected] |
David Carciente | 40247907 | [email protected] |
Giuliano Verdone | 40252190 | [email protected] |
Nirav Patel | 40248940 | [email protected] |
Nathanial Hwong | 40243583 | [email protected] |
Brian Tkatch | 40191139 | [email protected] |
Jutipong Puntuleng | 40080233 | [email protected] |
Rym Bensalem | 40237684 | [email protected] |
Command | rps Equivalent |
Description |
---|---|---|
flutter get |
rps get |
Install the Project's Dependencies |
flutter analyze |
rps lint check |
Run Flutter's Linter |
flutter run |
rps run |
Start the Dev Environment |
flutter build apk |
rps build android |
Build the android apk (Pass --debug for the debug build) |
flutter build ipa |
rps build ios |
Build the ios ipa |
flutter install |
rps install |
Install the app on the connected device. Can pass --release or --debug flags. (Default --release) |
Secrets and other configuration values are managed through environment variables. When developing locally, they can be configured by creating a .env
file in the project's root (concordia_nav), the same location where pubspec.yaml
is found.
Note: Default values should be optimized for local development, such that a developer can clone and run the project successfully without having to override any configuration values.
The following variables can be configured:
Variable | Description | Value |
---|---|---|
GOOGLE_MAPS_API_KEY | Used to integrate Google Maps API | YOUR_GOOGLE_MAPS_API_KEY |
- First, install the
rps
package globally using:dart pub global activate rps
Make sure to add the
bin/
folder to your path in order to userps
from the command line. Make sure to add thebin/
folder to your path in order to userps
from the command line. - Then, use the
rps gen
command to generate the scripts. - You can now use any of the scripts defined in the
pubspec.yaml
file. Example:rps test
will run therps test -r expanded
On Windows, if you get an error along the lines of 'command not found', you might need to run
rps.bat
instead of just rps. (You can aliasrps.bat
torps
in your shell profile) On Windows, if you get an error along the lines of 'command not found', you might need to runrps.bat
instead of just rps. (You can aliasrps.bat
torps
in your shell profile)
To enable the project's pre-commit hooks, run the following command: git config core.hooksPath .githooks
If the script isn't executable, make it so on your respective operating system. Example:
chmod +x .githooks/pre-commit
To build the iOS app, you need to create a file
concordia_nav/ios/Flutter/Environment.xcconfig
with a bundle ID that is unique to your
Apple Developer team:
PRODUCT_BUNDLE_IDENTIFIER=com.YOURDOMAIN.concordia-nav
APPLE_TEAM_ID=A1B2C3D4E5
CONNAV_APP_NAME=Concordia Nav