Capistrano Mongo
Provides some capistrano tasks for MonogoDB
Installation
Add this line to your application's Gemfile:
gem 'capistrano_mongo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano_mongo
Require it in your Capfile or deploy.rb:
require "capistrano_mongo/recipes"
Usage
$ cap db:console # Opens a remote mongo console
$ cap db:down # Sync DB from remote server to local machine
$ cap db:dump # Create a dump from the remote db
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request