Giter Site home page Giter Site logo

heroku.json's Introduction

Heroku.json

heroku.json is configuration management for Heroku, making it super simple to setup (heroku bootstrap) and copy (heroku describe) Heroku apps.

For app creators: Include a heroku.json file in your project root to make running your app on Heroku as simple as heroku bootstrap.

For hackers: Configure and run any app with a heroku.json file on Heroku using a single command.

Installation

  1. Get a Heroku account. If you don't have one already, create an account with Heroku. Your account needs to be verified in order to use any apps, which means adding a credit card.
  2. Install Heroku Toolbelt.
  3. Install heroku.json, by running heroku plugins:install [email protected]:rainforestapp/heroku.json.git from the command line.

Basic Usage

Heroku bootstrap

heroku bootstrap creates an app on Heroku which is ready to run, based on a heroku.json file. After cloning a project with a heroku.json file, you can run heroku bootstrap from the project root to install it onto Heroku. heroku bootstrap creates a new app on Heroku, installs the necessary addons, and configures the environment variables. Tada! One app, ready to go.

Note: Some addons are charged, please refer to the addons website for pricing information.

Heroku describe

heroku describe generates a heroku.json file for your project. This will create a new file called heroku.json in your project folder which describes all of the addons and environment variables that your app depends on, and which looks something like this:

{
  "addons": [
    "redistogo:nano"
  ],
  "env": {
    "TEST": "testing"
  }
}

Note: Although we blacklist some environment variables for you already, please check that nothing private/sensitive is exported before publishing.

Contributors

heroku.json is a Rainforest interview hack day project, created by smathieu, fredsterss and ukd1. [We're hiring](mailto:[email protected]?subject=I want ur jobz)!

TODO

  • Push code to heroku automatically
  • Allow users to run arbitrary commands to allow users to bootstrap the db, generate static files, etc
  • Display pricing information about the addons installed
  • Setup collaborators automaticallyu

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

heroku.json's People

Contributors

smathieu avatar

Watchers

 avatar  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.