mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 00:11:33 +03:00
27 lines
615 B
Markdown
27 lines
615 B
Markdown
# AFFiNE Electron App
|
|
|
|
## Development
|
|
|
|
To run AFFiNE Desktop Client Application locally, run the following commands:
|
|
|
|
```sh
|
|
# in repo root
|
|
yarn install
|
|
yarn workspace @affine/native build
|
|
yarn dev
|
|
|
|
# in packages/frontend/electron
|
|
yarn generate-assets
|
|
yarn dev # or yarn prod for production build
|
|
```
|
|
|
|
## Troubleshooting
|
|
|
|
## Credits
|
|
|
|
Most of the boilerplate code is generously borrowed from the following
|
|
|
|
- [vite-electron-builder](https://github.com/cawa-93/vite-electron-builder)
|
|
- [Turborepo basic example](https://github.com/vercel/turborepo/tree/main/examples/basic)
|
|
- [yerba](https://github.com/t3dotgg/yerba)
|