chore: initial.json

This commit is contained in:
relikd
2024-07-03 00:47:14 +02:00
parent 8cd5bbcbc0
commit 72eec662e4
3 changed files with 36 additions and 1 deletions

View File

@@ -7,8 +7,14 @@ Django app for managing places with json export and a fully-static frontend map.
## Deploy
Start container with `docker-compose up -d` and create admin user (first-run):
Start container with `docker-compose up -d` and create admin user (first-run only):
```sh
docker-compose exec app python manage.py createsuperuser --email ''
```
Further, the frontend needs the three Content labels `info`, `imprint`, and `come-back-later`. You can either, create them manually, or run:
```sh
docker-compose exec app python manage.py loaddata initial.json
```