Skip to content

FabriceVanner/sql-skeleton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple SQL

This nifty app will let you visualize sql queries... in the most minimal way possible.

See below for instructions how to install ruby on windows...

Setup

(We assume you already have a fairly recent ruby installed)

$ gem install bundler
$ bundle install

Bootstrap your database

For SQLite

$ ruby db/bootstrap_sqlite.rb

For Postgres

$ ruby db/bootstrap_postgres.rb

Start the app

For SQLite

$ ./run_with_reload.sh

For Postgres

$ ./run_with_reload postgres

And open http://localhost:4567

########################################################## How to install Ruby on Windows:

-> download https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe install "Ruby 2.3.3 (x64)" (choose option "add to path")

-> download https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe extract ruby DevKit (DOUBLE CLICK) to C:\DevKit

-> go to https://github.com/michaelglass/sql-skeleton CLICK greenbutton, CLICK download zip, save it extract the zip file (RIGHT CLICK) to your documents-folder in your windows-user-folder

-> Press windows key, type "Start Command Prompt with Ruby" type chdir C:\DevKit ruby dk.rb init ruby dk.rb install cd %USERPROFILE%\documents\sql-skeleton-master Continue with the directions on https://github.com/michaelglass/sql-skeleton

About

here's a skeleton to wrap your applications in

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 73.5%
  • HTML 25.0%
  • Shell 1.5%