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

Development

~> 1.0

Runtime

~> 0.3
 Project Readme

mina-padrino

Description

Mina tasks for deploying Padrino apps.

Features

  • Sets RACK_ENV=

Tasks

Mina Task Command
padrino:console padrino console
padrino:db:migrate rake db:migrate
padrino:db:migrate:down rake db:migrate:down
padrino:db:migrate:up rake db:migrate:up
padrino:db:create rake db:create
padrino:db:drop rake db:drop
padrino:db:reset rake db:reset
padrino:db:setup rake db:setup
padrino:db:seed rake db:seed

Examples

require 'mina/padrino'

desc "Deploys the current version to the server."
task :deploy => :environment do
  deploy do
    # Put things that will set up an empty directory into a fully set-up
    # instance of your project.
    invoke :'git:clone'
    invoke :'deploy:link_shared_paths'
    invoke :'bundle:install'
    invoke :'deploy:cleanup'
    invoke :'padrino:db:migrate'

    ...
  end
end

Requirements

Install

$ gem install mina-padrino

Gemfile

gem 'mina-padrino', require: false

Copyright

Copyright (c) 2015 Hal Brodigan

See {file:LICENSE.txt} for details.