summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-11-18 22:13:50 -0500
committerBen Burwell <ben@benburwell.com>2015-11-18 22:13:50 -0500
commitfe22af7afdd2cffbd8395c7151f6e957db36f065 (patch)
tree7700638dca7bcb8791df2cd0b3d16cd1532f607a
parent4a16895ba014473e00960e59383eba64cf598355 (diff)
Add app.json for Heroku deployment
-rw-r--r--README.markdown4
-rw-r--r--app.json15
2 files changed, 18 insertions, 1 deletions
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"
+}