Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rack app for creating postgres databases on localhost

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Purpose

I am using this app to share my database to the attendees of my training session at Red Dirt Ruby Conf. Each client that sends a request to this server will have a database provisioned for them. I am keeping track of the database based upon the senders IP Address.

Useage

Server

rackup

Client

# if server ip = 10.0.0.1

curl http://10.0.0.1

# => postgres://red_dirt_user:ruby@10.0.0.1/red_dirt_database_1
Something went wrong with that request. Please try again.