From e0339956a213dc38556a07aabd16291c0258899c Mon Sep 17 00:00:00 2001 From: Benoit S Date: Sat, 20 Nov 2021 11:38:32 +0900 Subject: [PATCH] Add create a superuser --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 274d49f..2cded0f 100644 --- a/README.md +++ b/README.md @@ -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 ```