- Python 3.9+
- pip
-
Clone the repo.
-
Create a virtual env (optional)
python3 -m venv venv && source venv/bin/activate
-
Install the backend/frontend requirements:
pip install -r requirements.txt npm install --prefix src/frontend
-
Setup the flask app:
export FLASK_APP=src/app.py
-
Build frontend:
npm run build --prefix src/frontend
-
Run tests:
DATABASE_URL="sqlite:///:memory:" pytest
-
Run the flask app:
flask run