0.0
No commit activity in last 3 years
No release in over 3 years
Ridgepole tasks for Mina
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
~> 0.6.0
 Project Readme

Mina Ridgepole

This gem provides mina task

mina ridgepole:apply         # apply DB schema.
mina ridgepole:apply_dryrun  # dry-run apply DB schema.
mina ridgepole:export        # export DB schema.

Installation

Add this line to your application's Gemfile:

gem 'mina-ridgepole', :require => false

And then execute:

$ bundle

Or install it yourself as:

$ gem install mina-ridgepole

you can set other option by setting follow variables:

  • ridgepole_config - ridgepole database file, default is shared/config/database.yml
  • ridgepole_schemafile - ridgepole schemafile, default Schemafile
  • ridgepole_options - ridgepole additional options, default ""

Usage

Add this to your config/deploy.rb file:

require 'mina/ridgepole'

Example

require 'mina/ridgepole'

  ...

task :deploy do
  deploy do
    invoke :'git:clone'
    invoke :'deploy:link_shared_paths'
    invoke :'bundle:install'
    invoke :'ridgepole:apply'
    ...

  end
end