Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryandotsmith/rack_createdb
Rack app for creating postgres databases on localhost
https://github.com/ryandotsmith/rack_createdb
Last synced: 2 months ago
JSON representation
Rack app for creating postgres databases on localhost
- Host: GitHub
- URL: https://github.com/ryandotsmith/rack_createdb
- Owner: ryandotsmith
- Created: 2011-04-10T02:51:35.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-04-10T02:58:16.000Z (almost 14 years ago)
- Last Synced: 2024-10-13T17:47:20.021Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:[email protected]/red_dirt_database_1