No description, website, or topics provided.
Shell Ruby
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 14 commits ahead, 677 commits behind heroku:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Heroku buildpack: Node.js

This is a Heroku buildpack for Node.js v0.6.10 apps. It uses NPM and SCons.


Example usage:

$ ls
Procfile  package.json  web.js

$ heroku create --stack cedar --buildpack

$ git push heroku master
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> Node.js app detected
-----> Vendoring node 0.6.10
-----> installing dependencies with npm 1.1.0-3
       express@2.5.2 ./node_modules/express
       ├── mime@1.2.4
       ├── mkdirp@0.0.7
       ├── qs@0.4.0
       └── connect@1.8.2
       Dependencies installed

The buildpack will detect your app as Node.js if it has the file package.json in the root. It will use NPM to install your dependencies, and vendors a version of the Node.js runtime into your slug. The node_modules directory will be cached between builds to allow for faster NPM install time.