Mac中安装FreshRSS

💡 原文中文,约700字,阅读约需2分钟。
📝

内容提要

在Mac上安装FreshRSS的步骤包括:安装PHP和Composer,克隆FreshRSS代码库并启动本地服务器。数据迁移只需拷贝data文件夹,更新使用git命令,最后设置别名以便快速启动。

🎯

关键要点

  • 在Mac上安装FreshRSS的第一步是安装PHP和Composer,使用命令:brew install php 和 brew install composer。

  • 克隆FreshRSS代码库的命令是:git clone https://github.com/FreshRSS/FreshRSS.git,进入目录后可以启动本地服务器。

  • 数据迁移只需拷贝data文件夹,更新使用命令:git pull origin main。

  • 设置别名以便快速启动FreshRSS,命令为:echo 'alias freshrss="cd ~/FreshRSS && php -S localhost:8080 -t ."' >> ~/.zshrc,随后运行source ~/.zshrc。

🏷️

标签

➡️

继续阅读