aboutsummaryrefslogtreecommitdiff

SEU Bookstore

Development

$ uv sync
# Just like how any normal Django app
$ uv run manage.py migrate # to create db
$ uv run manage.py runserver

Deployment

$ 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 and can be imported under staff/superuser priviledge (/book/import/).