private-schrijfsels-en-noti.../2024/Gitea build on FreeBSD 14.2.md

28 lines
928 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

* node22-22.8.0
* npm-node22-10.8.3
* golang 1.23 (downloaded with go-1.21_5,2)
* https://docs.gitea.com/installation/install-from-source
* https://go.dev/doc/manage-install
Build source commit:
commit 2beaedc4179ba6a3917ca99e2fd95fd2f476925e (HEAD -> main, origin/main, origin/issue-32885, origin/HEAD)
Author: Exploding Dragon <explodingfkl@gmail.com>
Date: Wed Dec 18 15:25:05 2024 +0800
* npm install -D webpack-cli
Download pre-build assets
* https://dl.gitea.com/gitea/1.23-nightly/gitea-src-1.23-nightly.tar.gz
* copy or symlink public/assets to custom/public/assets
* Build backend without embedded assets and sqlite: TAGS="sqlite sqlite_unlock_notify" make backend
## When Administrator is logged in it should be visual different from normal user #32894
* gitea/web_src/css/modules/navbar.css
* templates/base/head_navbar.tmpl
* `web_src/css/themes/*.css`
* use `--color-red-*` for navbar `background-color`