Skip to content

esigler/lita-deploygate

Repository files navigation

lita-deploygate

Build Status MIT License RubyGems :: RMuh Gem Version Coveralls Coverage Code Climate Gemnasium

A Deploygate plugin for Lita.

Installation

Add lita-deploygate to your Lita instance's Gemfile:

gem "lita-deploygate"

Configuration

You'll need to get an API key, which you can find at the bottom of this page: https://deploygate.com/settings

Add the following variables to your Lita config file:

config.handlers.deploygate.user_name = '_user_name_here_'
config.handlers.deploygate.api_key = '_api_key_here_'
config.handlers.deploygate.app_names = { 'ios' => 'platforms/ios/apps/com.yourappname.YourAppName',
                                         'android' => 'apps/com.yourappname.android',
                                         'short_name' => 'path component' }

Apologies for the odd syntax, DeployGate has slightly different behavior for iOS vs. Android. You'll need to determine which URL path your app is using.

Usage

Inviting users

deploygate add <username or email> <short name> - Add <username or email> to <short name>

Removing users

deploygate remove <username or email> <short name> - Remove <username or email> from <short name>

Listing Users

deploygate list <short name> - List all users associated with <short name>

License

MIT