ARTICLE DETAIL

资讯详情

深耕编程入门与网站建设的一线实战洞察。

AppFlowy 完整安装教程:10 分钟从零搭建本地协作工作区

AppFlowy 完整安装教程:10 分钟从零搭建本地协作工作区 AppFlowy 完整安装教程10 分钟从零搭建本地协作工作区【免费下载链接】AppFlowyBring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.项目地址: https://gitcode.com/GitHub_Trending/ap/AppFlowy被订阅费和云端托管卡住是很多团队换笔记工具的起点。AppFlowy 把文档、数据库、看板和 AI 聊天装进同一端数据默认全部存在本地是目前最热门的开源 Notion 替代品。这篇 AppFlowy 安装教程带你从零搭建环境10 分钟内跑通「建文档 问 AI」两个核心功能。AppFlowy 环境要求清单 操作系统依赖工具最低版本是否必装一键安装方式macOS / Windows / Linux 三选一Flutter SDK3.27.4✅install 脚本自动切换同上Rust stable 工具链stable✅同上或 rustup 官方安装器同上cargo-makeRust 的任务运行器latest✅cargo install cargo-make同上SQLite3、CMakelatest✅brew install sqlite3CMake 随 Flutter 提供Linux 专属keybinder-3.0-dev、libnotify-dev、libmpv-devlatest✅sudo apt install一条命令装齐好消息是仓库自带一键脚本Rust、Flutter 版本、SQLite、cargo-make 它都会检测并补齐你只需要按系统跑对应那一个。动手前先用这两条命令自验一下flutter --version # 预期输出Flutter 3.27.4 ... rustc --version # 预期输出rustc 1.x.xstable 工具链两条都出现预期版本就可以进下一步了。AppFlowy 安装三步跑通 拉代码一条命令拿全部源码。AppFlowy 的 Flutter 前端和 Rust 后端都在同一个仓库里不用再找第二份代码git clone https://gitcode.com/GitHub_Trending/ap/AppFlowy cd AppFlowy装依赖仓库自带的安装脚本会检测并补齐清单里的依赖三个系统各跑各的脚本位于frontend/scripts/install_dev_env/目录# macOS bash frontend/scripts/install_dev_env/install_macos.sh # Linux bash frontend/scripts/install_dev_env/install_linux.sh # Windows在 Git Bash 里执行 bash frontend/scripts/install_dev_env/install_windows.sh脚本跑完、终端回到提示符就算这一步成功。中途会问你是否安装 Rust输入 y 回车即可。启动并验证依赖齐了之后要先编译 Rust 后端再由 Flutter 打包启动。cd进frontend目录按平台选一条命令cd frontend # macOS cargo make appflowy-macos-dev # Linux cargo make appflowy-linux-dev # Windows cargo make appflowy-windows-dev漫长的编译日志先别管看到AppFlowy-Core build success说明后端编好了随后桌面端会自动弹出。登录后你会看到工作区侧边栏和默认的 Getting Started 文档新建一个文档再向内置 AI 提一个问题能正常回答就说明完整跑通了。AppFlowy 关键配置项说明 ⚙️后端地址改frontend/appflowy_flutter/dev.env里的APPFLOWY_CLOUD_URL→ 留空即纯本地模式填自己部署的 AppFlowy Cloud 地址 → 重启后账号与文档走云端同步日志级别改frontend/Makefile.toml里的RUST_LOG info→ 改成debug→ 重新编译后终端会输出大量 Rust 侧细节排查后端报错很管用Flutter 版本必须钉在 3.27.4 → 装依赖的脚本会自动切到该版本之后别手动升级否则编译大概率失败AppFlowy 安装报错排查 flutter: command not found→ 原因Flutter 没进 PATH → 解法重跑对应系统的 install 脚本它会自动修正Linux 编译报keybinder3相关错误→ 原因缺系统开发库 → 解法sudo apt install keybinder-3.0-dev libnotify-dev libmpv-dev mpv后重跑构建cargo make提示 task not found→ 原因cargo-make 没装 → 解法cargo install cargo-make装完再执行构建命令还卡住的话看仓库根目录README.md顶部列出的社区入口论坛、Discord或直接到项目 Issue 区搜相同报错frontend/scripts/install_dev_env/下的脚本本身也是最好的排查参考。接下来可以做什么打开frontend/Makefile.toml所有appflowy-xxx任务定义里能看懂怎么改编译目标、出安装包逛frontend/appflowy_flutter/lib/plugins/document、database、ai_chat 各对应一个功能模块是二次开发的最佳起点【免费下载链接】AppFlowyBring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.项目地址: https://gitcode.com/GitHub_Trending/ap/AppFlowy创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
返回列表