Clone AppFlowy
git clone [email protected]:AppFlowy-IO/AppFlowy.git
- Follow the instructions here to install Tauri
- Install cargo-make
# AppFlowy use cargo-make to run the scripts
cargo install cargo-make
- Install AppFlowy dev tools
# install development tools
cd AppFlowy/frontend
cargo make appflowy-tauri-deps-tools
cd appflowy_tauri
npm install
You can run from VSCode:
Open the frontend folder located at AppFlowy/frontend
with VSCode.
This option enable debugging the core process directly. Or you can run manually:
cd frontend
cargo make tauri_dev
Open the appflowy_tauri folder located at AppFlowy/frontend/appflowy_tauri
and then run the tauri:dev
.
Remove the build artifacts first when facing compiler errors.
cd frontend
cargo make tauri_clean