51 lines
935 B
Markdown
51 lines
935 B
Markdown
|
|
Gitea version 1.11.3 built with GNU Make 4.1, go1.13.8 : bindata, sqlite, sqlite_unlock_notify
|
|
|
|
# Gitea Launch Repo
|
|
|
|
[docs](https://docs.gitea.io/en-us/)
|
|
|
|
releases here
|
|
|
|
* https://dl.gitea.io/gitea
|
|
* https://github.com/go-gitea/gitea/releases
|
|
|
|
|
|
|
|
## Update
|
|
|
|
run update script when it's finally ready.
|
|
|
|
in the meantime
|
|
|
|
download latest binary to `<dir>/gitea/bin/<arch>`
|
|
stop gitea `sdstp gitea@<instance>`
|
|
rename gitea to `gitea.old`
|
|
rename latest to `gitea`
|
|
chmod +x gitea
|
|
make sure there is a backup of <data dir>
|
|
run arch script with appropriate architecture `./arch <arch>` amd64 is default
|
|
restart gitea `sds gitea@<instance>`
|
|
|
|
# Running
|
|
|
|
Use run script
|
|
|
|
run in foreground
|
|
`./run <ini> <arch>`
|
|
|
|
for running in background
|
|
`./start <ini> <arch>`
|
|
`./stop`
|
|
|
|
for working with custom files
|
|
`./watch <ini> <arch>`
|
|
will restart gitea on changes
|
|
|
|
# Install
|
|
|
|
moves service file to /etc/systemd/system
|
|
`./bin/install`
|
|
|
|
`sds gitea@<ini>`
|