Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (38 sloc) 1.01 KB

af-addon-tester

Allows developers to test add-ons compatible with App Fog

Setup

  1. Clone or Gem Install

Clone:

$ git clone git@github.com:tsantef/af-addon-tester.git

Gem:

$ gem install af-addon-tester
  1. Create a manifest.json that points to a test addon

Example

{
  "id":"myaddon",
  "plans":[
    {"id":"free"}
  ],
  "api":{
    "config_vars": {
      "MYADDON_URL":"http://some.url.com",
      "MYADDON_VAR1":"cats",
      "MYADDON_VAR2":"dogs"
    },
    "test":"http://localhost:4567",
    "password":"cavef6azebRewruvecuch",
    "sso_salt":"8ouy3ayLEyOA7HLAKO2Yo"
  }
}

Usage

If cloned:

$ bin/af-addon-tester [-a] <path to manifest>

If Gem:

$ af-addon-tester [-a] <path to manifest>

Options:

-a    Wait for the callback url to called with updated config vars

Meta

Maintained by Tim Santeford.

Released under the MIT license.