mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-07 09:35:44 +02:00
gitea: add page (#17323)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
2b9b738e0c
commit
4418c476e2
1 changed files with 29 additions and 0 deletions
29
pages/common/gitea.md
Normal file
29
pages/common/gitea.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# gitea
|
||||||
|
|
||||||
|
> Administer Gitea, a lightweight Git hosting server.
|
||||||
|
> Requires a configured `app.ini` file or environment variables.
|
||||||
|
> More information: <https://docs.gitea.com/administration/command-line>.
|
||||||
|
|
||||||
|
- Run the Gitea web server using the default configuration:
|
||||||
|
|
||||||
|
`gitea web`
|
||||||
|
|
||||||
|
- Create the necessary database schema and tables:
|
||||||
|
|
||||||
|
`gitea migrate`
|
||||||
|
|
||||||
|
- Run administrative subcommands for user management or authentication management:
|
||||||
|
|
||||||
|
`gitea admin {{user list}}`
|
||||||
|
|
||||||
|
- Display help for a specific subcommand:
|
||||||
|
|
||||||
|
`gitea {{admin}} --help`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`gitea help`
|
||||||
|
|
||||||
|
- Display version:
|
||||||
|
|
||||||
|
`gitea --version`
|
Loading…
Add table
Reference in a new issue