Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.41 KB

File metadata and controls

50 lines (32 loc) · 1.41 KB

node-js-sample

A barebones Node.js app using Express 4.

Deploying to Rackspace Cloud PaaS

1.On app create provide following URL

https://github.com/vikomall/node-js-sample.git

2.Provide following run command

npm start

3.Provide user_param PORT as 80

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

git clone git@github.com:heroku/node-js-sample.git # or clone your own fork
cd node-js-sample
npm install
npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Alternatively, you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles: