Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 85ca7a9e23
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (38 sloc) 1.03 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

2) 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.

Jump to Line
Something went wrong with that request. Please try again.