Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including heroku-cli-buildpacks with all npm packages installed. Try it out:

var herokuCliBuildpacks = require("heroku-cli-buildpacks")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

heroku-cli-buildpacks v0.0.12-beta.3

Buildpack Registry Plugin

Create and publish buildpacks.

Install

$ heroku plugins:install heroku-cli-buildpacks

Local dev

First uninstall existing plugin:

$ heroku plugins:uninstall heroku-cli-buildpacks

Then link the local directory:

$ heroku plugins:link
heroku: linking plugin heroku-cli-buildpacks... done

Usage

Create a new buildpack:

$ heroku buildpacks:init my-ruby-buildpack

Create a new Github repo for the project and push your buildpack code to it:

$ git push origin master

Register your buildpack:

$ heroku buildpacks:register johndoe/ruby

Create a tagged version and push it to Github:

$ git tag v1
$ git push --tags

Publish the tag as a Heroku buildpack:

$ heroku buildpacks:publish johndoe/ruby v1

Use the buildpack on an app:

$ cd my-ruby-app
$ heroku create
$ heroku buildpacks:set johndoe/ruby
$ git push heroku master

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free