- Install
jqfrom here - Instll
python3from here - Install
virtualenvfrom here - Create a virtual env with
virtualenv -p python3.9 venv-test - Activate virtual env with
source venv-test/bin/activate - Install requirements with
pip install -r requirements.txt
- Move to
appdirectorycd app - Make
htmlwithmake clean html
Built artifacts can be found at ${REPO_ROOT}/app/build/html/. To deploy, this directory can be zipped and uploaded to artifact
management system and then from there can be deployed to target system like staging or qa or production server.
Jenkinsfile can be used to automatically build and ship artifacts.