Giter VIP home page Giter VIP logo

heroku-switcher-script-1's Introduction

Heroku Switcher Script

Individual script for Heroku Switcher

Description

This is individual script separated from Heroku Switcher. You don't have to sign up for Heroku Switcher to run your Heroku apps without worrying about dyno hours.

How it works

  • First of all you need two of Heroku accounts ( yeah, need two accounts to make this work).
  • This script will transfer your heroku apps from one account to another on 1st and 15th day of every month.
  • Although this script will check every 4 hour if its 1st or 15th day of the month.

Alternative

You can use Heroku Switcher to do the same thinhg and you don't have to use this scrpit.

Preparation for Deployment

  • Create two Heroku accounts
  • Deploy your app on one heroku account only. We will call this your main account.
  • Leave the second account as it is.
  • Get API Keys from both the accounts.
  • Make a github gist as herokuData.json
  • Fill that gist as shown below.
    gist example
  • Add your Heroku API key of the main account as aHerokuApi.
  • bHerokuApi for the second account.
  • And last appName for the heroku app name.
  • You can add as many apps as you want separated by comma as json format.
  • Now get the raw link of the gist without commit id.

Deployment

WIP

heroku-switcher-script-1's People

Contributors

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