mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
Merge branch 'master' into feat/db
This commit is contained in:
@@ -320,13 +320,20 @@ point out:
|
||||
```sh
|
||||
# One time setup
|
||||
$ cd scripts && yarn install && cd -
|
||||
# Build a release export
|
||||
|
||||
# Build a release publishing app
|
||||
$ bb dev:publishing /path/to/graph-dir tmp/publish
|
||||
# OR build a dev export with `clojure -M:cljs watch publishing` and then
|
||||
|
||||
# OR build a dev publishing app that watches frontend changes
|
||||
$ bb dev:publishing /path/to/graph-dir tmp/publish --dev
|
||||
|
||||
# View the app in a browser
|
||||
$ python3 -m http.server 8080 -d tmp/db-publish &; open http://localhost:8080
|
||||
# View the publishing app in a browser
|
||||
$ python3 -m http.server 8080 -d tmp/publish &; open http://localhost:8080
|
||||
|
||||
# Rebuild the publishing backend for dev/release.
|
||||
# Handy when making backend changes in deps/publishing or
|
||||
# to test a different graph
|
||||
$ bb dev:publishing-backend /path/graph-dir tmp/publish
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user