Git Product home page Git Product logo

auto-heroku's Introduction

Setup

setup.sh

Run once.

  1. Will download the Heroku Toolbelt.
    The toolbelt is just an executable that performs the rest of the commands in new.sh and clean.sh
  2. It will then prompt you to login to Heroku. Setup a new account here: https://signup.heroku.com/login (No purchase necessary)
  3. It will lastly make all .sh scripts in this directory executable.

Optionally, add this directory to your PATH or dump these scripts in a directory that's already in your PATH.

Usage

new.sh

So, you've got a github repo with an app in it.

Example: https://github.com/lawwantsin/bev_test.git

git clone https://github.com/lawwantsin/bev_test.git
cd bev_test  (now within the app's root directory)
../auto-heroku/new.sh {MY-APP-NAME} (if these scripts are not in your path, but are in the `auto-heroku` directory)

Example: ../auto-heroku/new.sh penguins-rule

This will:

  1. Create the app in Heroku
  2. Add the heroku remote to the .git/config
  3. Adds the pg gem to the end of the Gemfile so it plays well with Postgres.
  4. Push the app to Heroku, which does the following
  5. Builds the app,
  6. Installs all bundled gems & an empty Postgres database.
  7. Runs the migrations to build the tables.
  8. Opens the app in your default browser.

Final URL will be (in this example) https://penguins-rule.herokuapp.com.

Clean up

clean.sh

After the review process is over and you don't want this app cluttering your Heroku account.

From within the auto-heroku directory.

./clean.sh penguins-rule

Will remove the app from your account.

Author Lawrence Whiteside [email protected]

auto-heroku's People

Contributors

lawwantsin avatar

Watchers

 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.