nsolid_buildpack

by alex-nodesource

GitHub Readme.md

Heroku Buildpack for N|Solid

N|Solid

This is the official Heroku buildpack for N|Solid apps.

Usage

Create a Node.js web app. Nodejs Getting Started can be used as a sample starter.

$ heroku create
$ git push heroku master
$ heroku open

$ heroku config:add BUILDPACK_URL=https://github.com/joemccann/nsolid-2.0-heroku-buildpack -a YOUR_APP_NAME

$ heroku buildpacks:set https://github.com/joemccann/nsolid-2.0-heroku-buildpack -a YOUR_APP_NAME

then redeploy

$ git push heroku master

You will have N|Solid 2.0 powering your Node app!

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:

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

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:

# Create a new Heroku app that uses your buildpack
heroku create --buildpack <your-github-url>

# Configure an existing Heroku app to use your buildpack
heroku buildpacks:set <your-github-url>

# You can also use a git branch!
heroku 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:

make test

Or to just test in cedar or cedar-14:

make test-cedar-10
make test-cedar-14

The tests are run via the vendored shunit2 test framework.