- Install
jq
from here - Instll
python3
from here - Install
virtualenv
from 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
app
directorycd app
- Make
html
withmake 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.