This is a very simple tutorial that can be containerized, but does not need to be.
Install Python 3!
Install the VirtualEnv package by running:
pip install virtualenv
You're set! If you have any questions about these prerequisites or run into trouble, contact Pavan and Lu!
You need to simply run:
python3 -m virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
Lets keep it as simple as possible, just run:
python3 app.py
Everything is contained in one file app.py
and you can safely edit that file to change things and add things. This can serve as a start to your code modification.
Technically, this is not required, and if you run into trouble with this, you can simply skip the steps and run:
pip install -r requirements.txt
python3 app.py
The virtualenv module keeps libraries away from the rest of your system and is seen as an almost universal pre-requisite to keep your environment clean. If you have trouble with this, contact Pavan and Lu!
This tutorial can include an advanced step of creating a container for this practice code, but for now, you can safely ignore it. If you happen to want to experiment with it to learn a more advanced topic, you can run:
docker build . -t bkexample:latest
docker run bkexample:latest
You're in good hands. Find Pavan and Lu and we can pair up and help you learn!