- Setup venv:
python3 -m venv venv
- Activate:
source venv/bin/activate
- Install requirements:
pip install -r requirements.txt
- Copy
config.example.py
toconfig.py
and fill out the values
cd svelte
npm install
- Copy
src/config.example.ts
tosrc/config.ts
and fill out the values - Create production build:
npm run build
. Output is insvelte/public
- Dev server:
FLASK_ENV=development flask run --no-reload
(reloading would create multiple scheduler threads) - Python type checking:
pyright
(install withpip install pyright
) - Svelte dev:
cd svelte; npm run dev
All the code in this repository is in the public domain. Or if you prefer, you may also use it under the MIT license or CC0 license.