- Create a python 3.6 environment
python3.6 -m venv env
- Set env variables and activate virtual environment
source activate_settings.sh
- Install the required packages with
pip install -r requirements/base.txt -r requirements/dev.txt
- Make sure the app's settings are configured correctly (see
activate_settings.sh
andaidbox_python_sdk/settings.py
). You can also use environment variables to define sensitive settings, eg. DB connection variables (see example.env-ptl
) - You can then run example with
python example.py
.