文檔首頁>>Redis Desktop Manager操作手冊>>快速安裝
快速安裝
Windows
- 先安裝Microsoft Visual C++ 2015-2019 x64
- 下載 Windows Installer from http://rdm.dev/download
- 安裝installer
Mac OS X
- 下載dmg映像 from http://rdm.dev/download.
- 解壓DMG映像.
- 執(zhí)行rdm.app.
使用Install Snapcraft 安裝(幾個linux社區(qū)搞出來的應(yīng)用中心)
從source構(gòu)建
- 利用git下載 https://git-scm.com/download
- 獲得源碼: git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 2021 rdm && cd ./rdm
在OS X上構(gòu)建
- 安裝 Xcode with Xcode build tools.
- 安裝Homebrew.
- 復(fù)制【 cd ./src && cp ./resources/Info.plist.sample ./resources/Info.plist 】.
- 安裝RDM 依賴需要 i.a. openssl, cmake 以及python3. 需要安裝的話執(zhí)行: brew install openssl cmake python3
- 構(gòu)建lz4 lib
cd 3rdparty/lz4/build/cmake cmake -DLZ4_BUNDLED_MODE=ON . make
- 安裝python 【 pip3 install -t ../bin/osx/release -r py/requirements.txt】
- Install Qt 5.15. Add Qt Creator and under Qt 5.15.x add Qt Charts module.
- 打開QT文件夾中./src/rdm.pro
- 運行執(zhí)行.
- 安裝Visual Studio 2019 Community Edition.
- 安裝Qt 5.15.
- Go to 3rdparty/qredisclient/3rdparty/hiredis and apply the patch to fix compilation on Windows: git apply ../hiredis-win.patch
- Go to the 3rdparty/ folder and install zlib with nuget: nuget install zlib-msvc14-x64 -Version 1.2.11.7795
- 構(gòu)建lz4 lib
cd 3rdparty/lz4/build/cmake cmake -DLZ4_BUNDLED_MODE=ON . make
- 安裝Python 3.7 amd64 到C:\Python37-x64.
- 安裝Python依賴 pip3 install -r src/py/requirements.txt.
- 打開QT安裝目錄./src/rdm.pro . 選擇Qt 5.15.x MSVC2019 64bit > Release build profile.
- 運行構(gòu)建Ctrl+B