server/Makefile

14 lines
394 B
Makefile

fetch:
git submodule update --init --recursive
init: fetch
mkdir -p priv/
[ -f "priv/env" ] || cp config/env priv/env
mkdir -p volumes/caddy/data volumes/caddy/config
mkdir -p volumes/gitea/data volumes/gitea/config
# chown 1000:1000 volumes/gitea/data volumes/gitea/config
mkdir -p volumes/seafile/data volumes/seafile/noti
mkdir -p volumes/mariadb/db
build: fetch
cd website; hugo