Skip to content

bidipyne/nodejs-buildpack

This branch is 1600 commits behind cloudfoundry/nodejs-buildpack:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dgoddAnna Thornton
and
Anna Thornton
May 30, 2017
f75f09c · May 30, 2017
May 30, 2017
May 30, 2017
May 25, 2017
May 9, 2017
Apr 28, 2017
Apr 28, 2017
Jun 20, 2016
May 21, 2015
Aug 12, 2015
May 30, 2017
Nov 9, 2016
Dec 23, 2016
Sep 9, 2013
Dec 21, 2016
Nov 9, 2016
Jan 11, 2017
May 30, 2017
May 11, 2017
May 11, 2017
May 30, 2017

Repository files navigation

Cloud Foundry Node.js Buildpack

CF Slack Join us on Slack

A Cloud Foundry buildpack for Node based apps.

This is based on the [Heroku buildpack] (https://github.com/heroku/heroku-buildpack-nodejs).

Additional documentation can be found at the CloudFoundry.org.

Buildpack User Documentation

Official buildpack documentation can be found at http://docs.cloudfoundry.org/buildpacks/node/index.html).

Building the Buildpack

  1. Make sure you have fetched submodules
git submodule update --init
  1. Get latest buildpack dependencies
BUNDLE_GEMFILE=cf.Gemfile bundle
  1. Build the buildpack
BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ --cached | --uncached ]
  1. Use in Cloud Foundry

Upload the buildpack to your Cloud Foundry and optionally specify it by name

cf create-buildpack custom_node_buildpack node_buildpack-offline-custom.zip 1
cf push my_app -b custom_node_buildpack

Testing

Buildpacks use the Machete framework for running integration tests.

To test a buildpack, run the following command from the buildpack's directory:

BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-build

More options can be found on Machete's GitHub page.

Contributing

Find our guidelines here.

Help and Support

Join the #buildpacks channel in our [Slack community] (http://slack.cloudfoundry.org/)

Reporting Issues

Open an issue on this project

Active Development

The project backlog is on Pivotal Tracker

About

Cloud Foundry buildpack for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 45.6%
  • Ruby 39.2%
  • JavaScript 15.2%