A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
 
 
 
 
 
 
Go to file
Tienson Qin da80086e48 Tags can't have '#'
Resolved https://github.com/logseq/logseq/issues/277
2020-09-06 09:24:19 +08:00
web Tags can't have '#' 2020-09-06 09:24:19 +08:00
.gitignore chore: adds gitignore to include calva files 2020-08-07 08:14:45 +08:00
.projectile Add contents 2020-07-21 15:50:13 +08:00
LICENSE Add procfile 2020-04-09 21:56:53 +08:00
readme.org Add github app installation environment variables and test pem 2020-08-31 11:27:14 +08:00

readme.org

Logseq

Logseq is a local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base.

Setup development environment

2. Add environment variables

  export ENVIRONMENT="dev"
  export GITHUB_APP_KEY="ecaceddfdb7158c4e384"
  export GITHUB_APP_SECRET="3e337d07f61585576362c95dcb8cd98756e43f65"
  export GITHUB_REDIRECT_URI="http://localhost:3000/auth/github"
  export JWT_SECRET="4fa183cf1d28460498b13330835e80ad"
  export COOKIE_SECRET="10a42ca724e34f4db6086a772d787034"
  export DATABASE_URL="postgres://localhost:5432/logseq"
  export GITHUB_APP2_ID="78728"
  export GITHUB_APP2_KEY="Iv1.5454f11e63f811bc"
  export GITHUB_APP2_SECRET="3b952aa1c2f821a957ea1296039df6527fda5b6e"
  # Replace your-code-directory with yours
  export GITHUB_APP_PEM="/your-code-directory/logseq/pem/logseq-test.2020-08-27.private-key.pem"

3. Start the clojure server

Using in Emacs
   1. C-c M-j and select "clojure-cli"
   2. input "(go)" in the clojure repl
Using in Cli
   1. clj -A:dev
   2. input "(go)" in the clojure repl
Using in Calva (Visual Studio Code )
    1. Issue the command Start a REPL server and Connect: ctrl+alt+c ctrl+alt+j
    2. Select clojure-cli
    3. input "(go)" in the clojure repl

4. Compile javascript

  cd web
  yarn
  yarn watch
  open http://localhost:3000

Notes

  1. The clojure deps should be synced between the two files: project.clj and deps.edn. We need the project.clj because it's used for dokku deployment.
  2. To use github push, comment this line https://github.com/tiensonqin/logseq/blob/master/web/src/main/frontend/handler.cljs#L751