Docs improvement

This commit is contained in:
CampaniaGuy 2024-05-07 10:03:34 +02:00
parent 1adf6af50c
commit 7b7583dfe6

View file

@ -27,7 +27,8 @@ services:
volumes: volumes:
- umap_userdata:/srv/umap/uploads - umap_userdata:/srv/umap/uploads
# FIX the path on the left, below, to your location # FIX the path on the left, below, to your location
# OPTIONAL, you can comment the line below out # OPTIONAL, you can comment the line below out for default
# values to apply
- /home/ubuntu/umap.conf:/etc/umap/umap.conf - /home/ubuntu/umap.conf:/etc/umap/umap.conf
restart: always restart: always
depends_on: depends_on:
@ -44,4 +45,7 @@ Note that youll have to set a [`SECRET_KEY`](https://docs.djangoproject.com/e
$ python3 -c 'import secrets; print(secrets.token_hex(100))' $ python3 -c 'import secrets; print(secrets.token_hex(100))'
``` ```
User accounts can be managed via the Django admin page ({SITE_URL}/admin). The required superuser must be created on the container command line with this command: umap createsuperuser. User accounts can be managed via the Django admin page ({SITE_URL}/admin). The required superuser must be created on the container command line with this command:
```bash
umap createsuperuser
```