ey-scp

Rubygem to quickly and painlessly deploy configuration files to multiple instances on EngineYard

Installation

  1. Run

    $ gem install ey-scp
    
  2. Make sure that you have your public key registered with EY.

Usage

  1. Run ey login

from your project directory.

  1. Use the ey-scp from any directory with the following syntax:

    ey-scp -e ENVIRONMENT [OPTIONS] LOCAL_SOURCE_FILE REMOTE_DESTINATION
    

e.g.

    ey-scp -e production --app-servers ~/local/project/config/foo.yml /remote/project/path/config

Contributing

Right now, we could really use someone to refactor the code so that it's less scripty/hackish.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request