Getting started example for Cortisol
It requires the one of the following Python versions: 3.8, 3.9, 3.10 or 3.11.
Also, you need to install some requirements:
- Create a virtualenv. For example:
mkvirtualenv getting-started-cortisol - Install the requirements
pip install -r requirements.txt
And, finally, you can it locally:
python -m app.main
Run it in a Docker container
make buildto build the Docker imagemake runto run the container. The service will be available athttp://localhost:8080/. It will output the container id, too.make stopto stop the containermake cleanto delete the image and the container