Read the wiki here
- Open a virtual environment
- Activate the virtual environment
- Install Flask with the following command:
pip install -r requirements.txt
- Create the Statzy database in your local Postgres database:
CREATE DATABASE statzy
- Import the Statzy tables and data into the Statzy database:
- First, connect to the Statzy database:
\c statzy
- Then, import the tables and data:
\i statzy.sql \i statzy.siko
- First, connect to the Statzy database:
- Run the
statzy.py
file with Python:python statzy/statzy.py
- Run the css watcher:
npx tailwindcss -i statzy/static/css/theme.css -o statzy/static/build/theme.css --watch