Skip to content

appflowy体验

>

项目地址:

https://github.com/AppFlowy-IO/AppFlowy

编译

https://docs.appflowy.io/docs/documentation/appflowy/from-source

安装flutter sdk

https://docs.flutter.dev/get-started/install/windows

windows版本

https://docs.flutter.dev/get-started/install/windows/desktop

将文件解压到一个目录(自己定)

但是这个目录有个要求:

1、不要有特殊字符(中文 ,空格之类的)

2、不需要特殊权限(不要放c盘)

加入环境变量

将“D:\flutter\sdk\flutter\bin”加入path环境变量

检查是否安装成功了

yaml
flutter doctor

配置flutter

  • Make sure to enable the flutter stable channel
yaml
flutter channel stable
  • Enable the specified platform first if you don't enable it before and then select the desktop device.
yaml
flutter config --enable-windows-desktop
  • Fix any problems reported by flutter doctor
yaml
flutter doctor

安装llvm

https://github.com/llvm/llvm-project

https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/LLVM-16.0.0-win64.exe

不知道干啥 的,好像是编译器的一个基础组件。

安装时选择加到环境变量path

安装rust

因为后端是rust写的

Copy

.\rustup-init.exe --default-toolchain stable --default-host x86_64-pc-windows-msvc -y

It is a good idea to check your rustc version after this step, and compare it to the current supported one in AppFlowy. Run the command:

Copy

rustup --version
  • Look for rustc 1.77.2You can find the supported version here.

In case you need to checkout/downgrade your version, you can replace the version number in this command: