mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
d3dd3e229d
tiny typo fix :)
1.5 KiB
1.5 KiB
How to build on Windows 10, please follow these simple steps.
Step 1:
git clone https://github.com/AppFlowy-IO/appflowy.git
Step 2:
Note: Please run the commands in windows cmd rather than powershell
- Install Visual Studio 2019 community. See: https://visualstudio.microsoft.com/downloads/
- Note: Didn't test Visual Studio 2022. It should also work.
- Install choco according to https://chocolatey.org/install
- Install vcpkg according to https://github.com/microsoft/vcpkg#quick-start-windows. Make sure to add vcpkg installation folder to PATH env var.
- Install flutter according to https://docs.flutter.dev/get-started/install/windows
flutter channel dev
- Install rust
choco install rustup.install
rustup toolchain install nightly
- Install cargo make
cd appflowy
cargo install --force cargo-make
- Install duckscript
cargo install --force duckscript_cli
- Check pre-request
cargo make flowy_dev
- Generate protobuf for dart
cargo make -p development-windows pb
- Build flowy-sdk (dart-ffi)
# TODO: for development
# for production
cargo make --profile production-desktop-windows-x86 flowy-sdk-release
- Build app_flowy
# TODO: for development
# for production
cargo make -p production-desktop-windows-x86 appflowy-windows
Step 3: Server side application
Note: You can launch postgresql server by using docker container
TBD