2023-01-04 12:16:26 +03:00
# Client App
AFFiNE App client powered by Tauri.
## Quick Start
Please follow the Tauri [getting started guide ](https://tauri.app/v1/guides/getting-started/setup/ ) for environment setup.
After the environment is ready, start development build:
```sh
pnpm tauri dev
```
## Development
2023-02-10 15:41:01 +03:00
Currently desktop client depends on a rapidly developing rust library "Octobase", we use git-submodule to link it currently.
2023-01-04 12:16:26 +03:00
We will provide its binary binding soon, to replace the git-submodule, before Octobase become opensource.
2023-01-04 12:54:19 +03:00
### Scripts
On this folder:
- `pnpm dev:app` will start a vite server
2023-01-05 09:57:40 +03:00
- `pnpm build:prerequisite` will link the Octobase and prepare affine dist html and tauri preload script, also will generate ts type from rs. You should run this before start your first development time.
2023-01-04 12:54:19 +03:00
On project root folder:
2023-01-04 12:16:26 +03:00
### Recommended IDE Setup
- [VS Code ](https://code.visualstudio.com/ ) + [Tauri ](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode ) + [rust-analyzer ](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer )