Add create a superuser

This commit is contained in:
Benoit S 2021-11-20 11:38:32 +09:00
parent b78de34b26
commit e0339956a2

View file

@ -11,7 +11,6 @@ Pyinfra that deploy linkding un-dockerized on a Debian 11 LXD container.
# pip install pyinfra
# git clone https://git.benpro.fr/pyinfra/linkding.git
# cd linkding
# ###!!!### Edit group_data/production.py
# pyinfra inventories/production.py deploy.py
```
@ -28,6 +27,8 @@ Run `remove.py` then `deploy.py`.
A systemd-run wrapper is installed and you can use it via `/usr/local/bin/linkding`.
Create a superuser:
```
# /usr/local/bin/linking manage.py
# /usr/local/bin/linkding python manage.py createsuperuser --username=jdoe --email=jdoe@example.com
```