From 4bd53d799d00ddacb8c252ab2379b6b28cc67c3e Mon Sep 17 00:00:00 2001 From: qishibo Date: Sat, 30 Mar 2019 12:04:24 +0800 Subject: [PATCH] update readme --- README.md | 58 +++++++++++++++++++++++++++++++---------------- package-lock.json | 2 +- 2 files changed, 39 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index e0682231d..cc236cb54 100644 --- a/README.md +++ b/README.md @@ -19,46 +19,64 @@ Download latest `AppImage` package from [release](https://github.com/qishibo/Ano Download latest `dmg` package from [release](https://github.com/qishibo/AnotherRedisDesktopManager/releases) page, double click to install. + +Enjoy! + +![redis status](https://ws1.sinaimg.cn/large/71405cably1g129wwutkij20vn0mbae6.jpg) + +![redis key detail](https://ws1.sinaimg.cn/large/71405cably1g129wwu51vj20vi0ma77n.jpg) + +![redis console](https://ws1.sinaimg.cn/large/71405cably1g129wwtdfjj20vn0mbq6d.jpg) + + ## Dev Build Setup -``` bash +### Linux Or Mac + +```bash # clone code git clone https://github.com/qishibo/AnotherRedisDesktopManager.git - -# install dependencies cd AnotherRedisDesktopManager +# install dependencies npm install -# or use yarn -# yarn install -# if installing electron failed in China, use this command +# if download electron failed during installing, use this command # ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/" npm install -# if yarn -# ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/" yarn install # serve with hot reload at localhost:9988 npm start -# yarn start -# after the last step is completed, open another tab, build up a desktop client -# Linux or Mac +# after the previous step is completed, open another tab, build up a desktop client npm run electron -# yarn run electron - -# Windows -# you need to download electron.exe first -path_to_electron.exe . ``` -Enjoy! -![redis status](https://ws1.sinaimg.cn/large/71405cably1g129wwutkij20vn0mbae6.jpg) +### Windows -![redis key detail](https://ws1.sinaimg.cn/large/71405cably1g129wwu51vj20vi0ma77n.jpg) +``` bash +# install build tools for the first time, just execute once +npm install -g windows-build-tools -![redis console](https://ws1.sinaimg.cn/large/71405cably1g129wwtdfjj20vn0mbq6d.jpg) +# clone code +git clone https://github.com/qishibo/AnotherRedisDesktopManager.git +cd AnotherRedisDesktopManager + +# install dependencies, 32-bit or 64-bit all use win32 +npm install --platform=win32 + +# if download electron failed during installing, use this command +# npm config set ELECTRON_MIRROR http://npm.taobao.org/mirrors/electron/ +# npm install --platform=win32 + +# serve with hot reload at localhost:9988 +npm start + + +# after the previous step is completed, open another tab, build up a desktop client +npm run electron +``` ## License diff --git a/package-lock.json b/package-lock.json index 2c0c7eeaf..8e8486cdf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "another-redis-manager", - "version": "1.0.0", + "version": "1.1.1", "lockfileVersion": 1, "requires": true, "dependencies": {