Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jumpup-deis

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jumpup-deis

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Jumpup-deis

RubyGems Code Climate Dependency Status

Rake tasks to deploy any Rails application to Deis using Jumpup.

Instalation

Add to your gem file.

gem 'jumpup-deis'

Without groups on Gemfile as this gem makes use of an initializer.

Usage

  1. Create the initializer on config/initializers/jumpup-deis.rb
# config/initializers/jumpup-deis.rb
Jumpup::Deis.configure do |config|
  config.host = 'deis.mycompany.com'
  config.app  = 'myapp'
end if Rails.env.development?
  1. Add to the tasks on jumpup.rake the tasks to deploy to Deis:
# lib/tasks/jumpup.rake

INTEGRATION_TASKS = %w(
  jumpup:deis:start
  jumpup:start
  jumpup:bundle_install
  db:migrate
  spec
  jumpup:finish
  jumpup:deis:finish
)

Production and staging apps

Have production and staging app? Do like this:

Jumpup::Deis.configure do |config|
  config.host           = 'deis.mycompany.com'
  config.staging_app    = 'myapp-staging'
  config.production_app = 'myapp'
end if Rails.env.development?

The branch send to staging app is master and the branch send to production is the production.

Deploy to production

When I have a single app

Run rake jumpup:deis:deploy:production or as an alias rake integrate:production

When I have staging and production apps

We have the following config

BranchApp Environment
masterstaging
productionproduction

So to send to production we need to

$ git checkout production
$ git merge master
$ git push -u origin production

And send to Deis with rake jumpup:deis:deploy:production or as an alias rake integrate:production

Versioning

Jumpup-deis follow the Semantic Versioning.

Issues

If you have problems, please create a Github Issue.

Contributing

Please see CONTRIBUTING.md for details.

Maintainers

Release

Follow this steps to release a new version of the gem.

  1. Test if everything is running ok;
  2. Change version of the gem on VERSION constant;
  3. Add the release date on the CHANGELOG;
  4. Do a commit "Bump version x.x.x", follow the semantic version;
  5. Run $ rake release, this will send the gem to the rubygems;
  6. Check if the gem is on the rubygems and the tags are correct on the github;

Credits

Jumpup-deis is maintained and funded by HE:labs. Thank you to all the contributors.

License

Jumpup-deis is Copyright © 2014 HE:labs. It is free software, and may be redistributed under the terms specified in the LICENSE file.

Made with love by HE:labs

HE:labs

This gem was created and is maintained by HE:labs.

FAQs

Package last updated on 16 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc