Server setup

I am using ubuntu 12.04 so these command works for me to run server:

Install Node Version Manager to manage different versions of node:

curl | sh

Install the latest v0.10.x release of node:

nvm install 0.10

And then in any new shell just use the installed version:

nvm use 0.10

Now go to your project directory and run these following commands. And one more thing that now onward whenever you will need to run server use these commands only, no need to run all above commands.

nvm use 0.10
npm install
npm start

Thats it. Now open browser and hit http://localhost:8000/app/index.html



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s