mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
Also moved testing instruction to dev-practices as it didn't make sense to have them split
1.0 KiB
1.0 KiB
Develop Logseq
1. Requirements
- Node.js (See build.yml for allowed version) & Yarn
- Java & Clojure. (If you run into
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2). -M:cljs (No such file or directory), it means you have a wrong Clojure version installed. Please uninstall it and follow the instructions linked.)
2. Compile to JavaScript
git clone https://github.com/logseq/logseq
cd logseq
yarn
yarn watch
3. Open the browser
Open http://localhost:3001.
4. Build a release
yarn release
Desktop app development
1. Compile to JavaScript
yarn watch
2. Install npm packages for building the desktop app
cd static && yarn install && cd ..
3. Open the dev app
yarn dev-electron-app
4. Build a release
yarn release-electron