All Projects → addyosmani → Socketchat

addyosmani / Socketchat

SocketChat - a beginners chat app using SocketStream

Labels

SocketStream Chat

NOTE - This is for SocketStream 0.1.0, not the current version (0.3).

Chat app which demos the open source SocketStream framework at https://github.com/socketstream/socketstream

INSTALL

To get Node and Redis up and running on the cloud servers:

Before you run SocketStream, you will need to install the following software:

Instructions on how to install those items of software are included below for reference, and are taken from the home pages of those software libraries.

Note: You may also need to install the following packages:

yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel

Step 1 - Install Node.js

Firstly, Check you have the dependencies for Node.js installed first (see https://github.com/joyent/node/wiki/Installation). If you satisfy them, then follow the command line instructions below:

wget http://nodejs.org/dist/node-v0.4.8.tar.gz     # (check this is the latest version)
tar xzf node-v0.4.8.tar.gz
cd node-v0.4.8
./configure
make
sudo make install

Step 2 - Install Node Package Manager (npm)

curl http://npmjs.org/install.sh | sh

Step 3 - Install redis

wget http://redis.googlecode.com/files/redis-2.2.7.tar.gz
tar xzf redis-2.2.7.tar.gz
cd redis-2.2.7
make

Step 4 - Install SocketStream

git clone git://github.com/socketstream/socketstream.git
cd socketstream/
npm install -g

Step 4 - Install SocketStream chat

git clone https://github.com/addyosmani/socketchat
cd socketchat/
npm link

Step 5 - Run SocketStream cht

socketstream start
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].