terwer/my-note

📕 A fork of SiYuan, a local-first personal knowledge management system

★ 2Forks 0TypeScriptGitHub ↗Compare

Project website ↗

markdownnotesiyuansiyuan-note

README

SiYuan
Build Your Eternal Digital Garden

English | 中文 | 日本語 | Türkçe

💡 Introduction

A fork of SiYuan, a local-first personal knowledge management system

🚀 Release

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

Publish docker image

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

Build

macOS

python3 scripts/build.py mac

Windows

python3 scripts/build.py win

Linux

python3 scripts/build.py linux

Then, setup file is under build forder

Dev

kernel

Linux / macOS

cd kernel
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn
go build --tags "fts5" -o "../app/kernel/my-note-kernel"
cd ../app/kernel
./my-note-kernel --wd=.. --mode=dev

Windows

cd kernel
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn
go build --tags "fts5" -o "../app/kernel/my-note-kernel.exe"
cd ../app/kernel
./my-note-kernel.exe --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

Contributors

Vanessa21988250TCOTCZuoqiu-Yingyiterwerdependabot[bot]12yaAchuan-2Soltuszxkmmiamqizmpcjazzkecrilyemptylight370wwxiaoqiDD3Bohfrostime2234839readlotusxzxhd863943427SineMark2020MacavityeuloresbytemainjuanpuntoesYuxinZhaozyxKonTynekrondevReverier-Xueltociear

Issues