Skip to content

Rails based application to convert MySql queries to JSON and store them

Notifications You must be signed in to change notification settings

diequeiroz/rails-mysqltojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create the local sqlite database

rake db:migrate

Create a user

rails c
user=User.create!(:email=>'test@test.com',:password=>'password')
exit

Add the target mysql database credentials:

Create a new file: config/bi_database.yml Set the database credentials inside:

credentials:
  host: 'localhost'
  user: 'root'
  pass: ''
  database: 'mydatabase'

Run

rails s

The application will be available in

http://localhost:3000

About

Rails based application to convert MySql queries to JSON and store them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published