a simple app skeleton for running an express app on heroku
JavaScript
Latest commit 601a2e9 Aug 23, 2010 @atmos import app code
Permalink
Failed to load latest commit information.
lib import app code Aug 22, 2010
public html5 boilerplate Aug 22, 2010
vendor initial import of node deps Aug 22, 2010
LICENSE.md import app code Aug 22, 2010
README.md import app code Aug 22, 2010
server.js import app code Aug 22, 2010

README.md

heroku-express

This is a Hello World express 1.0 app to get going on heroku's experimental node.js support. Heroku does not support any packagement management at this time so this project follows the convention of putting everything in vendor.

It uses the html 5 boilerplate from github to give you a good place to get started. This gives you a default layout and a bunch of extra crap you probably wouldn't want to have to track down yourself.

Clone this repo and you're ready to go.

Running

For local development you can simply run node on the server.js file at the root of the project. Keep in mind that it doesn't reload code dynamically so you'll end up restarting the server quite often. :)

% node server.js

Setup

Follow the instructions on the heroku beta-docs site to create a project. It should be as simple as:

% heroku create my-knockout-app --stack beech
% git push heroku master

Each time you push to heroku it will display a link that you can open to see your running application.

Branches

There's also a few branches for other use cases on heroku