Skip to content

aelbore/socket-io-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket-io-redis

Socket-io and redis (publish & subscribe)

For Mac users

  • Install homebrew (Copy and Paste this commad to your terminal)
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Install Redis
https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298

Clone repository

  git clone https://github.com/aelbore/socket-io-redis.git
  cd socket-io-redis
  npm install
  node start
  
  Open another terminal window (for running the redis)
  redis-server /usr/local/etc/redis.conf
  
  Open another terminal window/tab
  redis-cli
  publish app 'occupations' 

About

Socket-io and redis (publish & subscribe)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published