Difference between revisions of "EWD Install Instructions"

From VistApedia
Jump to: navigation, search
(Install Node.js & NPM)
Line 11: Line 11:
 
=== Install Node.js & NPM ===
 
=== Install Node.js & NPM ===
 
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
 
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
cd node
+
# Install Node
 +
cd node # cd to the git directory you downloaded above
 
export JOBS=2 # optional, sets number of parallel commands.
 
export JOBS=2 # optional, sets number of parallel commands.
 
mkdir ~/local
 
mkdir ~/local

Revision as of 06:26, 30 May 2011

Welcome to my page on installing EWD. I am doing this on Ubuntu. If you do this on a Red Hat like system, you have to adapt the instructions.

Install Git and download the Git Repos of EWD and Node.js

sudo apt-get install git-core				; Get Git
git clone https://github.com/robtweed/EWD.git		; Get EWD
git clone https://github.com/joyent/node.git		; Get Node.js
sudo apt-get install libssl-dev

Install Node.js & NPM

# Install Node
cd node  # cd to the git directory you downloaded above
export JOBS=2 # optional, sets number of parallel commands.
mkdir ~/local
./configure --prefix=$HOME/local/node
make
make install
export PATH=$HOME/local/node/bin:$PATH (& put in .bashrc)

# Install NPM
sudo apt-get install curl
curl http://npmjs.org/install.sh | sh