Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 829 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 829 Bytes

Server setup

  1. Setup venv: python3 -m venv venv
  2. Activate: source venv/bin/activate
  3. Install requirements: pip install -r requirements.txt
  4. Copy config.example.py to config.py and fill out the values

Frontend setup

  1. cd svelte
  2. npm install
  3. Copy src/config.example.ts to src/config.ts and fill out the values
  4. Create production build: npm run build. Output is in svelte/public

Dev

  • Dev server: FLASK_ENV=development flask run --no-reload (reloading would create multiple scheduler threads)
  • Python type checking: pyright (install with pip install pyright)
  • Svelte dev: cd svelte; npm run dev

License

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.