Build Your Eternal Digital Garden
A fork of SiYuan, a local-first personal knowledge management system
first, create a tag from a branch, then push the tag to trigger ci build and docker image build.tag example:v0.0.0
git tag v0.0.0
git push origin dev v0.0.0
then, merge dev to main or push to main
docker login
docker buildx build --push -t terwer/my-note:latest -t terwer/my-note:v0.0.0 .
python3 scripts/build.py mac
python3 scripts/build.py win
python3 scripts/build.py linux
Then, setup file is under build
forder
cd kernel
go env -w GO111MODULE=on
# go env -w GOPROXY=https://goproxy.cn,direct
go env -w GOPROXY=https://proxy.golang.com.cn
# go env -w GOPROXY=https://goproxy.cn
go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel"
cd ../app/kernel
./SiYuan-Kernel --wd=.. --mode=dev
cd app
npm install -g pnpm
pnpm config set registry https://registry.npmmirror.com/
pnpm install
pnpm run dev
pnpm run start