Skip to content

MirrorDB/rails-mirror-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MirrorBrand MirrorDB

Installation

Add the MirrorDB 💎 to your application's Gemfile 📄:

gem 'mirror-db'

And then execute ▶️:

$ bundle install

Or install it yourself as ▶️:

$ gem install mirror-db

Usage

  1. Install the Rails 💎 (tested using 3.2 and greater)

    • $ gem install rails
  2. Install the MirrorGEM

  3. Generate your rails project

    $ rails new app_name

  4. Access your app folder

    $ cd app_name

  5. Run the mirror installation 💨

    $ rails g mirror:install

  6. install the Gemfile updated

    $ bundle install

  7. Run the mirror reflect 💥 (it runs scaffolds, so lets 🍕 while the mirror work for you 🎉)

        # DBMS = SGBD 
        rake mirror:reflect[dbms_name database_name username password host]

    Obs: params not necessary if default DB connections: localhost, root, no_password 🍻



Congratilation! your new app mirrored is up. 🎉

Partners & Sponsors

Granted         License, supporting it OpenSource project.


CTD/UnB - Supporting on Mirror Events for entrepreneurs & about connections/marketing to improve it community

Base Mirror-V1 WorkFlow

Mirror V1 WorkFlow Diagram

Contributing

  1. Fork it 🔀 ( https://github.com/MirrorDB/rails-mirror-db )
  2. Create your 🆕 feature branch (git checkout -b my-new-feature)
  3. Commit your changes 🆙 (git commit -am 'Add some feature')
  4. Push to the branch 🔁 (git push origin my-new-feature)
  5. Create a new Pull Request 🔂

Useful guides for contributing

  1. How rails templates can be edited & how them work

How does it work on the core ⚡

Mirror WorkFlow Diagram