前端基于nodejs:
https://github.com/siyuan-note/siyuan/tree/master/app
后端基于go:
https://github.com/siyuan-note/siyuan/tree/master/kernel
----------------------------------------------------------------------
Get the source code
git clone --recurse-submodules git@github.com:siyuan-note/siyuan.git
For example saved inD:/siyuan/
- switch to dev branch
User Interface
Install pnpm: npm install -g pnpm
For China mainland
On the desktop, go to the app folder to run:
pnpm install electron@21.4.2 -D
pnpm run dev
pnpm run start
Note: In the development environment, the kernel process will not be automatically started, and you need to manually start the kernel process first.
Kernel
Desktop
cd kernel
go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"
cd ../app/kernel
./SiYuan-Kernel.exe --wd=.. --mode=dev
from
https://github.com/siyuan-note/siyuan/blob/master/.github/CONTRIBUTING.md
-------------
https://github.com/siyuan-note/siyuan/releases/download/v2.8.5/siyuan-2.8.5-win.exe