infra-cookbook/frontends/rimgo.txt

6 lines
384 B
Plaintext

1) Attach to PFCT from tilserv, su - rimgo, cd into rimgo dir
2) git pull
3) /usr/local/go/bin/go build -ldflags "-X codeberg.org/video-prize-ranch/rimgo/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)"
4) If there are updates to .env.example; diff it with .env and add new entries where necessary.
5) go back to PFCT root user, systemctl restart rimgo.