This is the jade example [1] from Express [2] to make it runnable on Heroku [3].
Changes
- The vendor directory contains all the necessary libs. I took the latest npm version.
- app.listen(parseInt(process.env.PORT || 8000), null);
Links
- [1] http://github.com/visionmedia/express/tree/master/examples/jade/
- [2] http://github.com/visionmedia/express
- [3] http://blog.heroku.com/archives/2010/4/28/node_js_support_experimental/