A Lita handler that provides some EngineYard tools like database dump
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
lita-ey-tools.gemspec

README.md

lita-ey-tools

Gem Version Build Status Code Climate Coverage Status

lita-ey-tools is a handler for Lita that provides some EngineYard tools.

Installation

Add lita-ey-tools to your Lita instance's Gemfile:

gem "lita-ey-tools"

Don't forget to include your EngineYard API key on the lita_config.rb file:

  config.handlers.ey.api_token = "YOUR_EY_API_TOKEN"
  config.handlers.ey.apps = {
    "my_app_name_for_lita" => {
      "ey_name" => "my_app_name_at_ey",
      "app_dir" => "/data/myapp/current",
      "envs" => {
        "test" => {
          ey_name: "my_app_testing",
          auth_group: "devs",
          default_branch: "develop",
          app_url: "test.myapp.com",
          db_name: "db_name",
          db_host: "db.hostname.com",
          db_user: "db_user",
          db_password: "db_password"
        },
        "stage" => {
          ey_name: "my_app_staging",
          auth_group: "testers",
          default_branch: "stage"
          app_url: "stage.myapp.com",
          db_name: "db_name",
          db_host: "db.hostname.com",
          db_user: "db_user",
          db_password: "db_password"
        },
        "production" => {
          ey_name: "my_app_production",
          auth_group: "devops",
          default_branch: "master"
          app_url: "www.myapp.com",
          db_name: "db_name",
          db_host: "db.hostname.com",
          db_user: "db_user",
          db_password: "db_password"
        }
      }
    }
  }

Usage

You: @Lita ey dbdump <app> <env>

See also

lita-ey-info lita-ey-deploy

License

MIT