Skip to content

This sample application will connect redis server locally at port number 6379. Basic crud operation is been exposed.

Notifications You must be signed in to change notification settings

javasks/redis-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-sample

This sample application will connect redis server locally at port number 6379. Basic crud operation is been exposed.

Please find below steps to install redis server:

Step 1: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Step 2: brew install redis

Launch Redis on computer starts.

$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents

Start Redis server via “launchctl”.

$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Start Redis server using configuration file.

$ redis-server /usr/local/etc/redis.conf

Stop Redis on autostart on computer start.

$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Location of Redis configuration file.

/usr/local/etc/redis.conf

Uninstall Redis and its files.

$ brew uninstall redis $ rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Get Redis package information. $ brew info redis

Test if Redis server is running.

$ redis-cli ping If it replies “PONG”, then it’s good to go!

About

This sample application will connect redis server locally at port number 6379. Basic crud operation is been exposed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages