git clone https://github.com/TecharoHQ/anubis.git
# check running version
git checkout [VERSION]
cd anubis
# run dev
apt install -y brotli
yarn install
yarn add -D postcss postcss-loader
yarn run dev
# localhost:8923
# replace images in 'web/static/img'
# Clean up modules and dependencies
go mod tidy
# Build the static executable
CGO_ENABLED=0 go build -o anubis_custom ./cmd/anubis
# Verify
ldd anubis_custom
# ldd will report "not a dynamic executable"
# Finish copy to /usr/bin/anubis (Need to stop anubis service)