mirror of https://github.com/logseq/logseq
fix(env): put ENV into yarn cmd
parent
ac337f0e52
commit
49da4f4829
|
@ -85,11 +85,9 @@ Open <http://localhost:3001>.
|
|||
### 4. Build a release
|
||||
|
||||
``` bash
|
||||
ENV=prod yarn release
|
||||
yarn release
|
||||
```
|
||||
|
||||
ENV: we can release a version for `staging` or `prod`. Logseq will read the environment variable from `resources/config.edn`
|
||||
|
||||
## Alternative: Docker based development environment
|
||||
|
||||
### 1. Fetch sources
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"watch": "run-p gulp:build gulp:watch cljs:watch",
|
||||
"release": "run-s gulp:build cljs:release",
|
||||
"release": "ENV=prod run-s gulp:build cljs:release",
|
||||
"release-staging": "ENV=staging run-s gulp:build cljs:release",
|
||||
"watch-app": "run-p gulp:watch cljs:watch-app",
|
||||
"release-app": "run-s gulp:build cljs:release-app",
|
||||
"release-publishing": "run-s gulp:build cljs:release-publishing",
|
||||
|
|
Loading…
Reference in New Issue