G5 / g5-sibling-deployer

The Generic sibling deployer. Can be deployed, and the name configured, to be a sibling to an app needing one.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

G5 Sibling Deployer

Build Status Code Climate

Deploys Sibling App automagically from Instruction Feed.

Setup

  1. Install all the required gems
bundle
  1. Copy example database file
$ cp config/database.example.yml config/database.yml
  1. Set up your database
rake db:setup
  1. Install redis and start it
brew install redis
redis-server > ~/redis.log &
  1. Create a new private key and add it to Github and Heroku

  2. Export environment variables

export HEROKU_USERNAME=your_username
export HEROKU_API_KEY=your_api_key
export HEROKU_APP_NAME=your_heroku_app_name
export HEROKU_REPO=git@heroku.com:your-heroku-app-name.git
export GITHUB_REPO=git@github.com:your/your-github-repo-name.git
export ID_RSA=your_private_key
export APP_DISPLAY_NAME=your_preferred_display_name
  1. Use foreman to start the web and worker proccesses
foreman start

Or if you are using pow or something start the job queue

rake jobs:work

Authors

Contributing

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

If you find bugs, have feature requests or questions, please file an issue.

Specs

guard

Coverage

rspec spec
open coverage/index.html

License

Copyright (c) 2013 G5

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

The Generic sibling deployer. Can be deployed, and the name configured, to be a sibling to an app needing one.

License:MIT License


Languages

Language:Ruby 85.1%Language:HTML 9.6%Language:Shell 4.0%Language:CSS 1.0%Language:CoffeeScript 0.3%