Skip to content

Frontend Deployment

Kenji Okura edited this page Feb 3, 2025 · 9 revisions

Deploying Frontend

Building is handled by GitHub Actions.

Deployment is a manual process.

Requirements

Deploying to Android

  1. Test locally
  2. Open a PR that has frontend changes. Must be in aquawatch_mobile_app directory.
  3. Merge the PR
  4. A GitHub workflow should be triggred.
  5. Login into Blue CoLab's Expo account.
  6. Navigate to most recent build (it will be there, but may still be building).
  7. Download the app bundle build once complete. Should be .aab file.
  8. Play Console: Create a new release, upload the new bundle for it, create a release notes. Submit it for review by Google Play.

Deploying to iOS

TBD

Manual Deployment

One time steps:

  1. In a command line enter: npm install -g eas-cli
  2. In a command line enter: eas login and login.

Deployment (Android):

  1. Update version code in app.json
  2. Open terminal in directory of app.
  3. 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.

  1. Navigate to the link given in the command prompt. Wait for the build to finish.
  2. Download the app bundle build once complete. Should be .aab file.
  3. 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: