Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nazarhussain/capistrano_db

Capistrano integration for db tasks
https://github.com/nazarhussain/capistrano_db

Last synced: 29 days ago
JSON representation

Capistrano integration for db tasks

Awesome Lists containing this project

README

        

# Capistrano::Db

Helps you out to sync up you datbases between your local and server machines.

## Installation

Add this line to your application's Gemfile:

gem 'capistrano_db'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano_db

## Usage

Add `require 'capistrano_db/tasks` into your `deploy.rb`

Then you can use `cap db:pull` and `cap db:push` commands. Enjoy!

## Thanks

Thanks to Sébastien Gruhier, I used the idea and inital code from https://github.com/sgruhier/capistrano-db-tasks

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request