Created
October 15, 2010 00:49
-
-
Save chebyte/627381 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== DB ROCKET | |
A simple database agnostic import/export app to transfer data to/from a remote database from Ruby on Rails APP based on TAPS. | |
== Usage: Server | |
The first thing that you need is create yaml configuration for add the data for access to the server, so into your app rails run: | |
# db_rocket create | |
this going to create yaml called config/db_rocket.yml. Fill this file | |
common: &common | |
server: ip-server | |
port: 5000 | |
http_user: mauro | |
http_password: chebyte | |
development: | |
<<: *common | |
production: | |
<<: *common | |
then run | |
# db_rocket server:start | |
and this is all | |
== Usage: Client | |
for push your db to the server you can do: | |
# db_rocket push | |
or for get the db from your server you can do: | |
# db_rocket pull | |
== Options | |
--environment production - by default db_rocket get from RAILS_ENV | |
--tables logs,tags - specify the tables | |
--filter '^log_' | |
=== Copyright | |
Copyright (c) 2010 Mauro Torres. See LICENSE for details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment