Giter Site home page Giter Site logo

chebyte / db_rocket Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9 KB

A simple database agnostic import/export app to transfer data to/from a remote database from Ruby on Rails APP based on TAPS.

Home Page: www.chebyte.com

License: MIT License

Ruby 100.00%

db_rocket's Introduction

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 © 2010 Mauro Torres. See LICENSE for details.

<img src=“https://beerpay.io/chebyte/db_rocket/badge.svg?style=beer-square” /> <img src=“https://beerpay.io/chebyte/db_rocket/badge.svg?style=beer-square” />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.