Heroku deployment button on README

This commit is contained in:
Joe Nelson
2015-01-17 10:46:58 -08:00
parent 003685ff46
commit d28dee41a1
2 changed files with 19 additions and 15 deletions
+3
View File
@@ -1,6 +1,9 @@
![Logo](static/logo.png "Logo") ![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) [![Build Status](https://circleci.com/gh/begriffs/postgrest.png?circle-token=f723c01686abf0364de1e2eaae5aff1f68bd3ff2)](https://circleci.com/gh/begriffs/postgrest/tree/master)
<a href="https://heroku.com/deploy?template=https://github.com/begriffs/postgrest">
<img src="static/heroku.png" alt="Deploy">
</a>
PostgREST serves a fully RESTful API from any existing PostgreSQL PostgREST serves a fully RESTful API from any existing PostgreSQL
database. It provides a cleaner, more standards-compliant, faster database. It provides a cleaner, more standards-compliant, faster
+16 -15
View File
@@ -6,40 +6,41 @@
"env": { "env": {
"BUILDPACK_URL": { "BUILDPACK_URL": {
"description": "Heroku buildpack for deploying Haskell applications", "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": { "DB_NAME": {
"description": "Database name" "description": "Database name",
"required": true
}, },
"DB_AUTH_ROLE": { "AUTH_ROLE": {
"description": "Database role to use checking client authentication" "description": "Database role to use checking client authentication",
"required": true
}, },
"DB_AUTH_PASS": { "AUTH_PASS": {
"description": "Authentication password", "description": "Authentication password",
"required": false "required": false
}, },
"DB_ANON_ROLE": { "ANONYMOUS_ROLE": {
"description": "Database role for non-authenticated requests" "description": "Database role for non-authenticated requests",
"required": true
}, },
"DB_HOST": { "DB_HOST": {
"description": "Database server hostname", "description": "Database server hostname",
"required": false, "required": true
"value": "localhost"
}, },
"DB_PORT": { "DB_PORT": {
"description": "Database server port", "description": "Database server port",
"required": false, "required": false,
"value": "5432" "value": "5432"
}, },
"DB_POOL_SIZE": { "DB_POOL": {
"description": "Maximum number of connections in database pool", "description": "Maximum number of connections in database pool",
"required": false, "required": false,
"value": "10" "value": "10"
},
"DB_SECURE": {
"description": "Redirect all requests to HTTPS",
"required": false,
"value": "1"
} }
} }
} }