mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-27 02:31:32 +03:00
d28c887237
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
27 lines
602 B
Markdown
27 lines
602 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 apps/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)
|