https://github.com/ivaldi/capistrano-db-pull
Capistrano task to download a remote database to a local database
https://github.com/ivaldi/capistrano-db-pull
capistrano local-database
Last synced: 6 months ago
JSON representation
Capistrano task to download a remote database to a local database
- Host: GitHub
- URL: https://github.com/ivaldi/capistrano-db-pull
- Owner: ivaldi
- License: bsd-2-clause
- Created: 2016-02-19T14:50:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-10-06T14:40:31.000Z (over 5 years ago)
- Last Synced: 2025-12-03T21:34:09.549Z (7 months ago)
- Topics: capistrano, local-database
- Language: Ruby
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Capistrano DB Pull
Replace your local development database with a database pulled from the server.
## Getting Started
- Add `gem capistrano-db-pull` to the :development group in your Gemfile
- Add `require 'capistrano/db/pull` to your Capfile
## How To Use
- Run `cap db:pull`, e.g. `cap production db:pull` to pull your production database
## MySQL default username and password
- Make sure a .my.cnf file is available in your home directory with your MySQL default login settings:
```
[client]
user=root
password=root
```