💡
原文中文,约600字,阅读约需2分钟。
📝
内容提要
安装FreshRSS的步骤包括:安装PHP和Composer,克隆代码库,访问本地服务器进行安装,以及进行数据迁移和更新。使用命令设置别名以便后续访问。
🎯
关键要点
- 安装FreshRSS的步骤包括安装PHP和Composer。
- 使用命令安装PHP和Composer:brew install php,brew install composer。
- 克隆FreshRSS代码库:git clone https://github.com/FreshRSS/FreshRSS.git。
- 访问本地服务器进行安装,使用命令php -S localhost:8080 -t .。
- 数据迁移和更新在data文件夹下,拷贝数据进行迁移。
- 更新数据使用命令git pull origin main。
- 设置别名以便后续访问:echo 'alias freshrss="cd ~/FreshRSS && php -S localhost:8080 -t ."' >> ~/.zshrc。
- 每次运行freshrss后在浏览器访问http://localhost:8080。
➡️