Skip to content

Latest commit

 

History

History
85 lines (62 loc) · 2 KB

README_zh_CN.md

File metadata and controls

85 lines (62 loc) · 2 KB

SiYuan
构建你永恒的数字花园

English

💡 简介

基于思源笔记修改而来的个人笔记软件,一款本地优先的个人知识管理系统, 支持细粒度块级引用和 Markdown 所见即所得。

🚀 发布

1、新建 tag

git tag v0.0.0
git push origin dev v0.0.0

2、合并请求到 main , 或者直接提交

发布 docker 镜像

docker login
docker buildx build --push -t terwer/my-note:latest -t terwer/my-note:v0.0.0 .

构建

macOS

python3 scripts/build.py mac

Windows

python3 scripts/build.py win

Linux

python3 scripts/build.py linux

然后,安装文件就在 build 目录

开发

kernel

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

app

cd app
npm install -g pnpm
pnpm config set registry https://registry.npmmirror.com/

pnpm install
pnpm run dev
pnpm run start