We virtualenv to reproduce Python development environment, the list of dependency packages is in requirements.txt. To get the development environment, do
# Create virtualenv (do this step only once)
python -m venv .venv
# Enter the virtualenv
source .venv/bin/activate
# Install requirements inside virtualenv
pip install -r requirements.txt
Build frontend typescript code and bundle it with dependencies to static/js/
:
npm run make-static
To initialize the database, run the ./create-db.sh
script.
Run flask all from within python virtualenv:
# Run webserver
flask --app main run