From d28dee41a14fa7ef83655d8b846bee0d0a49a24e Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Sat, 17 Jan 2015 10:31:54 -0800 Subject: [PATCH] Heroku deployment button on README --- README.md | 3 +++ app.json | 31 ++++++++++++++++--------------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index dda08b35e..0128dcb93 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ ![Logo](static/logo.png "Logo") [![Build Status](https://circleci.com/gh/begriffs/postgrest.png?circle-token=f723c01686abf0364de1e2eaae5aff1f68bd3ff2)](https://circleci.com/gh/begriffs/postgrest/tree/master) + + Deploy + PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster diff --git a/app.json b/app.json index 2e759ba5f..de404a244 100644 --- a/app.json +++ b/app.json @@ -6,40 +6,41 @@ "env": { "BUILDPACK_URL": { "description": "Heroku buildpack for deploying Haskell applications", - "value": "https://github.com/mietek/haskell-on-heroku" + "value": "https://github.com/begriffs/postgrest-heroku" + }, + "POSTGREST_VER": { + "description": "Version of PostgREST to deploy", + "value": "0.2.5.0" }, "DB_NAME": { - "description": "Database name" + "description": "Database name", + "required": true }, - "DB_AUTH_ROLE": { - "description": "Database role to use checking client authentication" + "AUTH_ROLE": { + "description": "Database role to use checking client authentication", + "required": true }, - "DB_AUTH_PASS": { + "AUTH_PASS": { "description": "Authentication password", "required": false }, - "DB_ANON_ROLE": { - "description": "Database role for non-authenticated requests" + "ANONYMOUS_ROLE": { + "description": "Database role for non-authenticated requests", + "required": true }, "DB_HOST": { "description": "Database server hostname", - "required": false, - "value": "localhost" + "required": true }, "DB_PORT": { "description": "Database server port", "required": false, "value": "5432" }, - "DB_POOL_SIZE": { + "DB_POOL": { "description": "Maximum number of connections in database pool", "required": false, "value": "10" - }, - "DB_SECURE": { - "description": "Redirect all requests to HTTPS", - "required": false, - "value": "1" } } }