/sql-skeleton

here's a skeleton to wrap your applications in

Primary LanguageRuby

Simple SQL

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

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