G5 / g5-configurator

Pulls h-entry feed from g5-hub, publishes feed of instructions to targets (g5-client-app-creator, g5-cms-*, g5-cau-*)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

G5 Configurator

Build Status Code Climate

This app is no longer used or maintained. So, you're probably in the wrong spot.

Deployment instructions are created manually by G5 and automagically from Client Feed.

  • Receives Webhook from Client Feed Publisher
  • Consumes Client Feed
  • Creates Apps
  • Creates Instructions
  • Publishes Instruction Feed

Setup

  1. Install all gem dependencies.
$ bundle
  1. Copy example database file.
$ cp config/database.example.yml config/database.yml
  1. Set up your database.
$ rake db:setup

Optional: Set Custom G5 Hub Entries URL

  1. Set environment variable G5_HUB_ENTRIES_URL. Defaults are set in config/initializers/env.rb.

Optional: Autoscale Resque Workers on Heroku

  1. Set environment variables HEROKU_APP_NAME and HEROKU_API_KEY. Defaults are set in config/initializers/env.rb.

Optional: Set the App Namespace

Used to determine the top-level namespace for your infrastructure (e.g. the g5 in g5-cms-ab123-my-apartments). If you plan on building a parallel infrastructure with a separate prefix for its deployed applications, you should set this.

  1. Set environment variable APP_NAMESPACE. Defaults are set in config/initializers/env.rb.

Authors

Contributing

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

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

Specs

Run once.

$ rspec spec

Keep then running.

$ 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

Pulls h-entry feed from g5-hub, publishes feed of instructions to targets (g5-client-app-creator, g5-cms-*, g5-cau-*)

License:MIT License


Languages

Language:Ruby 76.2%Language:HTML 21.5%Language:CoffeeScript 1.7%Language:CSS 0.7%