Merge pull request 'docs(README): instruction to create first user' (#24) from aileoia/gitea:master into master

Reviewed-on: coop-cloud/gitea#24
This commit is contained in:
3wordchant 2021-12-29 19:31:41 +00:00
commit 8c5ba669aa
1 changed files with 10 additions and 0 deletions

View File

@ -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`.