mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
enhance: add a --dev mode to publishing that pairs with shadow's watch
This commit is contained in:
@@ -320,10 +320,14 @@ point out:
|
||||
```sh
|
||||
# One time setup
|
||||
$ cd scripts && yarn install && cd -
|
||||
# Build the export
|
||||
# Build a release export
|
||||
$ bb dev:publishing /path/to/graph-dir tmp/publish
|
||||
# OR build a dev export with `clojure -M:cljs watch publishing` and then
|
||||
$ bb dev:publishing /path/to/graph-dir tmp/publish --dev
|
||||
|
||||
# View the app in a browser
|
||||
$ open tmp/publish/index.html
|
||||
$ python3 -m http.server 8080 -d tmp/db-publish &; open http://localhost:8080
|
||||
|
||||
```
|
||||
|
||||
There are also some tasks under `nbb:` which are useful for inspecting database
|
||||
|
||||
Reference in New Issue
Block a user