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

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

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
```