From a907b39ea5e4926cbe97938bc7b962dc9d490fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o?= Date: Wed, 29 Dec 2021 18:13:43 +0100 Subject: [PATCH] docs(README): instruction to create first user --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ec3949b..79f1256 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,13 @@ 4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to your Docker swarm box 5. `abra app YOURAPPDOMAIN deploy` + +## Create first user + +Run + +```bash +abra app run git YOURAPPNAME gitea -c /etc/gitea/app.ini admin user create --username USERNAME --admin --random-password --email EMAIL +``` + +See the [Gitea command-line documentation](https://docs.gitea.io/en-us/command-line/) for more options. Make sure not to forget the `-c /etc/gitea/app.ini`.