Skip to content

tareque20/nodejs-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Redis

Simple user management app using Node.js and Redis

Usage

Make sure you have Redis installed and running

Install Dependencies

$ npm install

Run Server

$ npm start

Install redis

$ wget http://download.redis.io/redis-stable.tar.gz
$ tar xvzf redis-stable.tar.gz
$ cd redis-stable
$ make
$ make test

CP Redis Server and Client

$ sudo cp src/redis-server /usr/local/bin/
$ sudo cp src/redis-cli /usr/local/bin/

Starting Redis

$ redis-server

Check if Redis is working

$ redis-cli ping //output: PONG

Enter to CLI

$ redis-cli  

Install Redis

More info

Redis

Visit http://localhost:3000