forked from esorbella/BlueColab_MobileDataViz
-
Notifications
You must be signed in to change notification settings - Fork 1
Frontend Deployment
Kenji Okura edited this page Feb 3, 2025
·
9 revisions
Building is handled by GitHub Actions.
Deployment is a manual process.
- Google Developer Account
- Additional Requirements (beyond the usual like name, email):
- Privacy Policy (https://bluecolab.github.io/BlueColab_MobileDataViz/, edit the policy here)
- Website (okaykenji.github.io)
- Feedback Form (https://docs.google.com/forms/d/1EiEnmUMdi-9sctza0u7vyeFb72yeLmUnjuCL5ABabn0/edit)
- Additional Requirements (beyond the usual like name, email):
- Expo Developer Account
- Keys
-
Expo Personal Access Token with the name
EXPO_TOKEN
. To add tokens see here. - To create your PA Token see here: https://expo.dev/settings/access-tokens.
-
Expo Personal Access Token with the name
- Test locally
- Open a PR that has frontend changes. Must be in aquawatch_mobile_app directory.
- Merge the PR
- A GitHub workflow should be triggred.
- Login into Blue CoLab's Expo account.
- Navigate to most recent build (it will be there, but may still be building).
- Download the app bundle build once complete. Should be
.aab
file. - Play Console: Create a new release, upload the new bundle for it, create a release notes. Submit it for review by Google Play.
TBD
One time steps:
- In a command line enter:
npm install -g eas-cli
- In a command line enter:
eas login
and login.
Deployment (Android):
- Update version code in app.json
- Open terminal in directory of app.
- In a command line enter:
eas build --platform android
.
Important
In general build times should take about 10 minutes. The queue time varies, late nights queues are much shorter.
- Navigate to the link given in the command prompt. Wait for the build to finish.
- Download the app bundle build once complete. Should be
.aab
file. - Play Console: Create a new release, upload the new bundle for it, create a release notes. Submit it for review by Google Play.
More help: