Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 support
Octocat-spinner-32 README.md
README.md

Heroku buildpack: Node.js

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

Usage

Example usage:

$ ls
Procfile  package.json  web.js

$ heroku create --stack cedar --buildpack http://github.com/hakobera/heroku-buildpack-nodejs.git

$ 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.

Something went wrong with that request. Please try again.