aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMole Shang <135e2@135e2.dev>2026-01-25 19:51:26 +0800
committerMole Shang <135e2@135e2.dev>2026-01-25 19:51:26 +0800
commit1ead0481592efaa2777cf793e3dfc68a35b205ca (patch)
tree332904a40a21da8d7502cb64d187c9cf230a03c7 /README.md
parentb45660fbcf5dd22188354bfa0193845e568bda53 (diff)
downloadseu-bookstore-1ead0481592efaa2777cf793e3dfc68a35b205ca.tar.gz
seu-bookstore-1ead0481592efaa2777cf793e3dfc68a35b205ca.tar.bz2
seu-bookstore-1ead0481592efaa2777cf793e3dfc68a35b205ca.zip
add readmeHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
index e69de29..1171c25 100644
--- a/README.md
+++ b/README.md
@@ -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