Mac build install RedisDesktopManager 2020
RedisDesktopManager 是一个redis的一个可视化客户端, 但它仅在Linux上免费试用, Macos和Windows平台却是订阅付费, 所以就自己手动编译安装
github/FuckDoctors/rdm-builder download rdm.dmg
还是挺麻烦的, 是真的杀鸡用牛刀的感觉
-
安装
xcode直接在APP Store 搜索安裝 XCode -
安装
Homebrew>> brew install/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -
brew 安装 git
brew install git -
brew 安装 qt
brew install qt -
git clone源代码及相关
git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 2020 rdm && cd ./rdm -
brew 安装相关依赖
brew install openssl cmake python3 -
拷贝相关文件
cd ./src && cp ./resources/Info.plist.sample ./resources/Info.plist -
安装python依赖 "注意当前python当前版本目录等等 我用的是3.7"
pip3 install -t ../bin/osx/release -r py/requirements.txt -
修改配置文件注释
rdm.prodebug: CONFIG-=app_bundle -
qmake编译
/usr/local/Cellar/qt/5.14.2/bin/qmakeqmake rdm.pro && make -
编译完成
rdm/bin/osx/将编译好的app移动到应用文件夹
本文只记录我简单编译过程, 如果你遇到编译错误请看,qmake python版本都会有影响 官方文档
需要成本dmg 请去GitHub搜索直接有的