mirror of
https://github.com/markbeep/AudioBookRequest.git
synced 2026-05-14 13:08:24 -05:00
4ebeeadd5249707d243e27b42b11142dd61e991d
Local Development
Installation
python -m venv .venv
.venv/activate
pip install -r requirements.txt
Initialize DB
alembic upgrade heads
Running
Running the application is best done in multiple terminals:
- Start FastAPI dev mode:
fastapi dev
- Start Tailwindcss watcher:
tailwindcss -i styles/globals.css -o static/globals.css --watch --m
- Start browser-sync. This hot reloads the website when the html template files are modified:
browser-sync http://localhost:8000 --files templates/**
NOTE: Website has to be visited at http://localhost:3000 instead.
Languages
Python
71.2%
Jinja
27.8%
Dockerfile
0.4%
CSS
0.3%
Just
0.2%
Other
0.1%