Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LDuderino-zz/heroku-redis-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-cli

redis-cli is a tool to build redis command line interface binary for use in a Heroku Cedar-14 application. It relies on Docker. It's intended to give access to redis instances over a secure network.

Usage

Install docker.

Check the available redis versions at http://download.redis.io/releases

Build:

$ docker build -t your-username/redis-cli .
$ docker run -i -v ~/redis-cli:/tmp/rcli -e REDIS_VERSION=2.8.19 your-username/redis-cli

This will build redis cli and place the resulting binaries in ~/redis-cli.

Usage: redis-cli [OPTIONS] [cmd [arg [arg ...]]]
  -h                Server hostname (default: 127.0.0.1)
  -p                Server port (default: 6379)
  -s                Server socket (overrides hostname and port)
  -a                Password to use when connecting to the server
  -r                Execute specified command N times
  -n                Database number
  -x                Read last argument from STDIN
  -d                Multi-bulk delimiter in for raw formatting (default: \n)
  --raw             Use raw formatting for replies (default when STDOUT is not a tty)
  --help            Output this help and exit
  --version         Output version and exit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages