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