This page runs you through the steps to build the web application and deploy in respective environment.
Steps
Follow the instructions here to set up the job pipeline. Ignore the steps not applicable to the front end.
Instructions here are provided assuming CD/CI has been set up using the DIGIT ci-as-code module.
Before setting up the job pipeline, make sure each project has a docker folder in the root folder of the project. The cirrusci flutter docker tag must be mentioned for building the application through Jenkins. Check the image below for reference.
The global assets inside the .env file should be loaded from the environment assets.
Note: The global assets file needs to be in JSON format for Flutter
Follow the sample config added in yaml files of the respective environment to load the global assets of works_shg_app.
Copy the docker image IDs from the previous step and paste in the above box. Click on "Build". Once the image is deployed, you will see a message as shown below: