futurice/heroku-buildpack-nodejs-aws

Name: heroku-buildpack-nodejs-aws

Owner: Futurice

Description: The official Heroku buildpack for Node.js apps.

Created: 2015-11-19 19:47:24.0

Updated: 2015-11-19 19:48:42.0

Pushed: 2015-11-20 10:38:38.0

Homepage: https://devcenter.heroku.com/articles/buildpacks

Size: 9519

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Heroku Buildpack for Node.js

nodesjs

This is the official Heroku buildpack for Node.js apps.

Build Status

Documentation

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

For more general information about buildpacks on Heroku:

Locking to a buildpack version

In production, you frequently want to lock all of your dependencies - including buildpacks - to a specific version. That way, you can regularly update and test them, upgrading with confidence.

First, find the version you want from the list of buildpack versions. Then, specify that version with buildpacks:set:

ku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs#v83 -a my-app

If you have trouble upgrading to the latest version of the buildpack, please open a support ticket at help.heroku.com so we can assist.

Chain Node with multiple buildpacks

This buildpack automatically exports node, npm, and any node_modules binaries into the $PATH for easy use in subsequent buildpacks.

Feedback

Having trouble? Dig it? Feature request?

Hacking

To make changes to this buildpack, fork it on Github. Push up changes to your fork, then create a new Heroku app to test it, or configure an existing app to use your buildpack:

eate a new Heroku app that uses your buildpack
ku create --buildpack <your-github-url>

nfigure an existing Heroku app to use your buildpack
ku buildpacks:set <your-github-url>

u can also use a git branch!
ku buildpacks:set <your-github-url>#your-branch
Tests

The buildpack tests use Docker to simulate Heroku's Cedar and Cedar-14 containers.

To run the test suite:

 test

Or to just test in cedar or cedar-14:

 test-cedar-10
 test-cedar-14

The tests are run via the vendored shunit2 test framework.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.