Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
demo of postgres as a cloud service for Heroku
Ruby
branch: master
Failed to load latest commit information.
views sso page
.gitignore remove env.rb
Gemfile update gems
Gemfile.lock update gems
Procfile initial commit
README.md moar readme
app.rb protect inactive with 404 on sso
cleanup.rb cleanup script
config.ru initial commit
consumer.rb comments on conusmer

README.md

Postgres-O-Matic

This repository is a demo of a Heroku Add-on written with Ruby/Sinatra

It is designed to create shared postgresql databases as a cloud service. It is for demonstration purposes only and not meant to be a production system.

Usage

clone
$ gem install kensa
$ gem install foreman
$ kensa init --foreman
$ foreman start

Connect to a database

$ add DATABASE_URL to .env file

Make a new postgres !

$ kensa test provision

Make some tables and sign in

$ kensa run ./consumer.rb
Something went wrong with that request. Please try again.