Skip to content

Saral v1.0 release steps from source code

Dileep Gadiraju edited this page Nov 8, 2021 · 16 revisions

Source Code references

Open Terminal and clone source code git clone https://github.com/Sunbird-Saral/Project-Saral.git

Change Directory to Project-Saral/ folder and switch to release tag as per release notes. git checkout tags/<tag_name>

%FRONTEND_FOLDER% = Project-Saral/v1.0/frontend

%BACKEND_FOLDER% = Project-Saral/v1.0/backend

Saral v1.0 Android App bundling

  1. Follow Frontend Setup steps @ Developer Environment Setup

  2. Open Terminal in %FRONTEND_FOLDER%/SaralApp/android folder

gradlew clean

  1. Open Terminal in %FRONTEND_FOLDER%/SaralApp/android folder

gradlew assembleRelease

(OR)

gradlew assembleDebug

  1. gradlew assembleRelease -x bundleReleaseJsAndAssets

  2. You can find release apk file in Project-Saral/v1.0/frontend/SaralApp/android/app/build/outputs/apk/release folder.

Generate Saral backend docker image release archive.

Open Terminal from %BACKEND_FOLDER% folder.

docker build . -t saral-backend:<<release tag>>

docker save saral-backend:<<release tag>> | gzip > saral-backend-<<release tag>>.tar.gz

Example for <<release tag>> is 1.0.0-beta1

Clone this wiki locally