diff options
| author | Mole Shang <135e2@135e2.dev> | 2026-01-25 19:51:26 +0800 |
|---|---|---|
| committer | Mole Shang <135e2@135e2.dev> | 2026-01-25 19:51:26 +0800 |
| commit | 1ead0481592efaa2777cf793e3dfc68a35b205ca (patch) | |
| tree | 332904a40a21da8d7502cb64d187c9cf230a03c7 /README.md | |
| parent | b45660fbcf5dd22188354bfa0193845e568bda53 (diff) | |
| download | seu-bookstore-1ead0481592efaa2777cf793e3dfc68a35b205ca.tar.gz seu-bookstore-1ead0481592efaa2777cf793e3dfc68a35b205ca.tar.bz2 seu-bookstore-1ead0481592efaa2777cf793e3dfc68a35b205ca.zip | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +# SEU Bookstore + +## Development + +```shell +$ uv sync +# Just like how any normal Django app +$ uv run manage.py migrate # to create db +$ uv run manage.py runserver +``` + +## Deployment + +```shell +$ uv add gunicorn +# Also add settings.py:ALLOWED_HOSTS +$ uv run gunicorn bookstore_project.wsgi:application +``` + +## Default credentials + +Check out `store/migrations/0002_create_superuser.py` for details. + +## Import samples + +`*.jsonl` are samples pulled from [Anna's Archive](https://annas-archive.li/faq) and can be imported under staff/superuser priviledge (`/book/import/`).
\ No newline at end of file |
