This repo is meant to be the foundation for the CSD class offered by Falk Kühnel and Björn Jensen of Jensen und Komplizen.
In order to be able to follow this tutorial you need to have to install the following things:
- Python 3.x
- PIP
- Install Python version 3.11
- Run
python3 -m venv venv
to create the virtualenv - Activate venv:
source venv/bin/activate
- Install needed dependencies (venv activated) by running:
pip install -e .
- Run local flask development server:
flask run
(if you get any "used port"-error, you can change the port by setting the--port=XXXX
argument like i.e.flask run --port=5001
) or use the entryfile like "bash entry.sh"
run bash start.sh or bash restart.sh to make the web app persistent as a service.
- Before Pushing to main, run
python -m unittest discover tests/
- Check if everything is green ;)