Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nazarhussain/capistrano_db
- Owner: nazarhussain
- License: mit
- Created: 2012-09-27T13:19:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-29T01:10:17.000Z (over 12 years ago)
- Last Synced: 2025-01-03T07:10:02.175Z (about 1 month ago)
- Language: Ruby
- Size: 106 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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