First, you need to clone this repository:
$ git clone https://gitlab.com/has-abi/flask-cicd.gitThen change into the flask-cicd folder:
$ cd flask-cicdNow install pipenv with pip
$ pip install pipenvNow, we will need to create a virtual environment and install all the dependencies:
$ pipenv shell
$ pipenv installBefore run the application, make sure you have activated the virtual enviroment.
Activate the virtual enviroment
$ pipenv shellTo start the application browse to project root where manage.py is
$ python3 manage.py run$ python manage.py test$ python manage.py cov- GET (
/process?text=your_text): Simple GET endpoint to process text.