git clone https://github.com/AppFlowy-IO/appflowy.git
Note:
Install flutter according to https://docs.flutter.dev/get-started/install/windows
flutter channel dev
flutter doctor
Install rust
# Download rustup.exe from https://win.rustup.rs/x86_64
# Call rustup.exe from powershell or cmd
.\rustup-init.exe --default-toolchain nightly --default-host x86_64-pc-windows-msvc -y
# Note: you probably need to re-open termial to get cargo command be available in PATH var
Install cargo make
cd appflowy/frontend
cargo install --force cargo-make
shell
cargo install --force duckscript_cli
Check prerequisites
cargo make flowy_dev
[Optional] Generate protobuf for dart (optional, if you modify the shared-lib's entities)
# Need to download protoc tools and add it's bin folder into PATH env var.
# Download protoc from https://github.com/protocolbuffers/protobuf/releases. The latest one is protoc-3.19.1-win64.zip
cargo make -p development-windows pb
[Optional] Build flowy-sdk (dart-ffi), step 10 covers this step
# for development
cargo make --profile development-windows-x86 flowy-sdk-dev
# for production
cargo make --profile production-windows-x86 flowy-sdk-release
Build app_flowy
# for development
cargo make -p development-windows-x86 appflowy-windows-dev
# for production
cargo make -p production-windows-x86 appflowy-windows
Note: You can launch postgresql server by using docker container
TBD