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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
views
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
app.rb
cleanup.rb
config.ru
consumer.rb

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.