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")
[![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
database. It provides a cleaner, more standards-compliant, faster
+16 -15
View File
@@ -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"
}
}
}