Skip to content
This repository
Newer
Older
100644 52 lines (39 sloc) 1.304 kb
cb6c16a8 »
2011-05-19 0.0.45
1 Install Instructions
2 ====================
3
4 SocketStream runs on all UNIX based platforms, including OS X and Linux.
5
6 TODO: Provide Mac OS X installation instructions
b85afbb2 »
2011-04-15 Installation instructions for Ubuntu.
7
8
9 ### Ubuntu 10.04 server installation
10
cb6c16a8 »
2011-05-19 0.0.45
11 Here is an example that shows how to install SocketStream and it's dependencies on Ubuntu Server, including building Redis and Node.js from source:
12
b85afbb2 »
2011-04-15 Installation instructions for Ubuntu.
13 # get prerequisites
14 sudo apt-get install build-essential automake git-core curl libssl-dev -y
15
16 # install and run redis
17 cd ~
18 wget http://redis.googlecode.com/files/redis-2.2.4.tar.gz
19 tar -xvzf redis-2.2.4.tar.gz
20 cd redis-2.2.4
21 make
22 sudo make install
23 env redis-server > /tmp/redis.log 2>&1 &
24
25 # install node.js
26 cd ~
27 git clone https://github.com/joyent/node.git
28 cd node
29 export JOBS=2
30 mkdir -p ~/local/node
31 ./configure --prefix=$HOME/local/node
32 make
33 make install
34 export PATH=$HOME/local/node/bin:$PATH
35
36 # install npm
cb6c16a8 »
2011-05-19 0.0.45
37 curl http://npmjs.org/install.sh | sudo sh
b85afbb2 »
2011-04-15 Installation instructions for Ubuntu.
38
39 # build socketstream
40 cd ~
41 git clone https://github.com/socketstream/socketstream.git
42 cd socketstream
cb6c16a8 »
2011-05-19 0.0.45
43 sudo npm link
b85afbb2 »
2011-04-15 Installation instructions for Ubuntu.
44
cb6c16a8 »
2011-05-19 0.0.45
45 # create a new socketstream project called 'test'
b85afbb2 »
2011-04-15 Installation instructions for Ubuntu.
46 cd ~
47 socketstream new test
48
49 # run test app
50 cd test
cb6c16a8 »
2011-05-19 0.0.45
51 socketstream start
Something went wrong with that request. Please try again.