1 Star 0 Fork 182

孙老伯/siyuan

forked from 思源笔记/siyuan 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
DEV.md 1.40 KB
一键复制 编辑 原始数据 按行查看 历史

中文

Get the source code

  • git clone --recurse-submodules git@github.com:siyuan-note/siyuan.git For example saved in D:/siyuan/
  • switch to dev branch

NPM dependencies

In China, it may be necessary to set the Electron mirror environment variable:

NPM mirror:

  • May need to use mirror repository in China npm --registry https://r.cnpmjs.org/ i -D --sass_binary_site=https://cnpmjs.org/mirrors/node-sass/
  • Revert to using official repository npm --registry https://registry.npmjs.org i -D

Kernel

Desktop

  • cd kernel
  • go build --tags "fts5" -o "../app/kernel/SiYuan-Kernel.exe"
  • SiYuan-Kernel.exe --wd=D:/siyuan/app

iOS

Android

User Interface

On the desktop, go to the app folder to compile and run:

  • npm run dev
  • npm run start

For the mobile-end, please refer to the corresponding project repository.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/blud/siyuan.git
git@gitee.com:blud/siyuan.git
blud
siyuan
siyuan
master

搜索帮助