mirror of https://github.com/logseq/logseq
parent
a4e9136b9f
commit
c8e9eec944
|
@ -24,12 +24,14 @@ yarn watch
|
|||
|
||||
Then open the browser <http://localhost:3001>.
|
||||
|
||||
### Production
|
||||
### Production Build
|
||||
|
||||
```bash
|
||||
yarn release
|
||||
```
|
||||
|
||||
The released files will be at `resources/` directory.
|
||||
|
||||
## Desktop app development
|
||||
|
||||
### Development
|
||||
|
@ -39,6 +41,7 @@ yarn release
|
|||
``` bash
|
||||
yarn install
|
||||
```
|
||||
|
||||
2. Compile to JavaScript and open the dev app
|
||||
|
||||
```bash
|
||||
|
@ -52,9 +55,23 @@ yarn dev-electron-app
|
|||
Alternatively, run `bb dev:electron-start` to do this step with one command. To
|
||||
download bb, see https://github.com/babashka/babashka#installation.
|
||||
|
||||
### Production
|
||||
3. (Optional) Update dependencies if your are updating from an old branch
|
||||
|
||||
```bash
|
||||
# pull new changes
|
||||
git pull
|
||||
|
||||
cd static && yarn install && cd ..
|
||||
```
|
||||
|
||||
Here `static/` is generated by `yarn watch` command.
|
||||
|
||||
### Production Build
|
||||
|
||||
Build a release:
|
||||
|
||||
```bash
|
||||
yarn release-electron
|
||||
```
|
||||
|
||||
The final released binaries or installers will be at `static/out/`.
|
||||
|
|
Loading…
Reference in New Issue