From fe22af7afdd2cffbd8395c7151f6e957db36f065 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Wed, 18 Nov 2015 22:13:50 -0500 Subject: Add app.json for Heroku deployment --- README.markdown | 4 +++- app.json | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 app.json diff --git a/README.markdown b/README.markdown index c698dd5..887b833 100644 --- a/README.markdown +++ b/README.markdown @@ -1,6 +1,8 @@ +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/benburwell/zipserver) + # Usage -To run the server on port 8080: +To run the server on port 8080 (set the `PORT` environment variable to override): ```sh go build . diff --git a/app.json b/app.json new file mode 100644 index 0000000..8e67974 --- /dev/null +++ b/app.json @@ -0,0 +1,15 @@ +{ + "name": "zipserver", + "description": "A simple JSON API server written in Go from which to get ZIP code geolocation data.", + "keywords": [ + "zipcode", + "zip", + "json", + "api", + "go", + "golang" + ], + "website": "https://github.com/benburwell/zipserver", + "repository": "https://github.com/benburwell/zipserver", + "success_url": "/zip/10001" +} -- cgit v1.2.3