/dokku-node-js-example

A barebones Node.js app using the Express framework.

Primary LanguageJavaScript

node-js-sample

A barebones Node.js app using Express 4.

Running Locally

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

git clone git@github.com:rchrd2/dokku-node-js-example.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 Dokku

git remote add dokku dokku@<dokku-server>:dokku-node-js-example
git push dokku master
# open dokku-node-js-example.<dokku-server>

Documentation

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