Test task for BFG Group
- Set an environment variable
- export VENV=~/bfg_test/env
- Create a virtual environment
- python3 -m venv $VENV
- Update packaging tools in the virtual environment
- $VENV/bin/pip install --upgrade pip setuptools
- Install Pyramid
- $VENV/bin/pip install "pyramid==1.10.2" waitress
- Change folder
- cd app
- Install
- $VENV/bin/pip install -e .
- $VENV/bin/pip install -e ".[dev]"
- Run this console script, thus producing our database and table
- $VENV/bin/initialize_tutorial_db development.ini
- Run the WSGI application with
- $VENV/bin/pserve development.ini --reload