logseq/readme.org

52 lines
1.3 KiB
Org Mode
Raw Normal View History

2020-04-09 12:42:52 +00:00
* Logseq
2019-12-13 14:18:27 +00:00
A client-only note app which sync with your github repo. *Use it at your own risk!!!!*
2020-02-10 06:00:54 +00:00
#+CAPTION: gitnote screenshot
#+NAME: fig:screenshot.png
[[./images/screenshot.png]]
2019-12-13 08:36:34 +00:00
** Demo
2020-04-09 12:42:52 +00:00
http://logseq.tiensonqin.now.sh/
2019-12-13 08:36:34 +00:00
2020-02-10 02:31:34 +00:00
** Setup
*** Create a github basic token
1. Go to github.com Settings / Developer settings / Personal access tokens
2. Click the button *Generate new token*
2020-04-09 12:42:52 +00:00
3. Input =logseq= or anything in the *Note*
2020-02-10 02:31:34 +00:00
4. Select the =repo= checkbox under *Select scopes*
5. Click the *Generate token* button
*** Go to the demo or your now.sh instance
Input your github username, repo and basic token and click the *Sync* button.
2019-12-13 12:51:26 +00:00
** File directory example
#+BEGIN_SRC shell
tasks.org # the app will extract todos from this file
other_notes.org
other_notes.markdown
...
#+END_SRC
2020-02-10 02:23:00 +00:00
** Hidden directories or files
#+BEGIN_SRC shell
touch .hidden # root directory
# add directories or files like:
# /directory
# file
# /directory/file
#+END_SRC
2019-12-13 12:51:26 +00:00
2019-12-13 12:49:32 +00:00
** Deploy to your now.sh instance
#+BEGIN_SRC shell
./deploy.sh
#+END_SRC
2019-12-13 08:36:34 +00:00
** Develop
#+BEGIN_SRC shell
yarn install
yarn watch
open http://localhost:3000
#+END_SRC
*** Or if you are using Emacs
1. M-x cider-jack-in
2020-02-10 02:23:40 +00:00
2. type ~(cljs-repl)~ in the repl