golf-better
Local Setup
To build and run the Android app:
- Install Android Studio and load code
- Login to golf-better GCP account with gcloud
- Run the app in one of these ways:
- Install an emulator and run from Android Studio
- Connect a real device (either using USB or "adb tcpip") and run from Android Studio
- Build an APK and push to a real device
To set up firebase for the first time, you will need to upload the SHA hash of your signing
certificate under Project Settings >> General. See https://developers.google.com/android/guides/client-auth
for the command to get the SHA of the debug certificate.
To setup sqitch, run:
brew tap sqitchers/sqitch
brew install sqitch --with-postgres-support --with-sqlite-support
See directories under /gcp for specific READMEs.
Repo structure
- /app - Android app
- Also the parent directory / contains gradle build info
- /gcp - Other infrastructure/applications to manage the backend database, app engine, etc.
- /.github/workflows - CI scripts
System diagram