Giter Club home page Giter Club logo

heroku-anvil's Introduction

heroku-anvil

Heroku CLI integration with an Anvil build server.

Installation

$ heroku plugins:install https://github.com/ddollar/heroku-anvil

Usage

Build a local directory

$ heroku build

Build a local directory with a specific buildpack

$ heroku build -b nodejs
$ heroku build -b https://github.com/heroku/heroku-buildpack-nodejs.git#master

Build a git repository

$ heroku build https://github.com/ddollar/anvil.git

Use -p to create pipelines

$ heroku release $(heroku build . -p 2>/tmp/log/build.log)

Build a tarball using a shell script as a buildpack

$ heroku build http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz \
            -b https://raw.github.com/ddollar/vulcan-recipes/master/memcached.sh

Release to Heroku after building

$ heroku build -r -a myapp
Building ...
Releasing to myapp.heroku.com... done, v42

Release already-built software

$ heroku release $slug_url -a myapp
Releasing to myapp.heroku.com... done, v42

Release to another cloud

$ heroku cloud shadow
$ heroku release $slug_url -a myapp
Releasing to myapp.heroku-shadow.com... done, v42

Advanced Usage

heroku build

Usage: heroku build [SOURCE]

 build software on an anvil build server

 if SOURCE is a local directory, the contents of the directory will be built
 if SOURCE is a git URL, the contents of the repo will be built
 if SOURCE is a tarball URL, the contents of the tarball will be built

 SOURCE will default to "."

 -b, --buildpack URL  # use a custom buildpack
 -e, --runtime-env    # use an app's runtime environment during build
 -p, --pipeline       # pipe compile output to stderr and only put the slug url on stdout
 -r, --release        # release the slug to an app

heroku release

Usage: heroku release SLUG_URL

 release a slug

 -p, --procfile PROCFILE  # use an alternate Procfile to define process types

heroku-anvil's People

Contributors

ddollar avatar hone avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.