- 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.)
git clone https://github.com/logseq/logseq
cd logseq
yarn
yarn watch
Open http://localhost:3001.
yarn release
Run ClojureScript tests
yarn test
Run E2E tests
yarn electron-watch
# in another shell
yarn e2e-test # or npx playwright test
yarn watch
cd static && yarn install && cd ..
yarn dev-electron-app
yarn release-electron