Create a local environment
python -m venv src/env
Activate the virtual environment
(Required every time you want to access the virtual environment)
source src/env/bin/activate
Install requirements from requirements.txt
pip install -r requirements.txt
You can use the below to run a model. Feel free to edit this file, as this is used only for testing purposes.
python src/run_as_script.py
Visual studio code is already set up to run using the debugger. This is using as default "USERS_DICT": "{'user1': 'stork'}"
.
To run individually, you can first set the USERS_DICT
and just run python src/main.py