Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

demo of postgres as a cloud service for Heroku

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.rb
Octocat-spinner-32 cleanup.rb
Octocat-spinner-32 config.ru
Octocat-spinner-32 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.