- 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.)
This is a required step before doing any development or production builds.
git clone https://github.com/logseq/logseq
cd logseq
yarn
yarn watch
Then open the browser http://localhost:3001.
yarn release
- Install npm packages for building the desktop app
yarn install && cd static && yarn install && cd ..
- Compile to JavaScript and open the dev app
yarn watch
# Wait until watch is finished building and then in a different shell
yarn dev-electron-app
Alternatively, run bb dev:electron-start
to do this step with one command. To
download bb, see https://github.com/babashka/babashka#installation.
Build a release:
yarn release-electron