Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
qishibo committed Mar 30, 2019
1 parent 438c401 commit 4bd53d7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 21 deletions.
58 changes: 38 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4bd53d7

Please sign in to comment.