Skip to content

cloudxlab/python-web-app-jenkins-pipeline

Repository files navigation

python-web-app

Python app for CI CD

Clone the repo

git clone https://github.com/singh-ashok25/python-web-app-pipeline.git
cd python-web-app

Setup virtual env and install requirements

sudo apt -y install python3.9
pip3 install --upgrade pip
pip3 install virtualenv
virtualenv -p /usr/bin/python3.9 venv
. venv/bin/activate
pip3 install -r requirements.txt

Run test cases

pytest --cov=tests --cov-report term -vs

Start the app

python3 app/app.py 
curl http://127.0.0.1:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published