mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
@@ -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/`.
|
||||
|
||||
Reference in New Issue
Block a user