Files
logseq/docs/develop-logseq.md
Gabriel Horner 163d31005f Add testing library and document workflow
Also moved testing instruction to dev-practices as it didn't make sense
to have them split
2022-02-24 00:32:30 +08:00

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