summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-11-18 21:00:34 -0500
committerBen Burwell <ben@benburwell.com>2015-11-18 21:00:34 -0500
commit4a16895ba014473e00960e59383eba64cf598355 (patch)
tree48b319be6b7a5a9ff7465a834a5016b68588cae2
parent9915da78233e19b68c043da08717693b4d61a74c (diff)
Testing Heroku...
-rw-r--r--Godeps/Godeps.json8
-rw-r--r--Godeps/_workspace/.gitignore2
-rw-r--r--Procfile2
-rw-r--r--main.go2
4 files changed, 13 insertions, 1 deletions
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json
new file mode 100644
index 0000000..e5e5bcd
--- /dev/null
+++ b/Godeps/Godeps.json
@@ -0,0 +1,8 @@
+{
+ "ImportPath": "github.com/benburwell/zipserver",
+ "GoVersion": "go1.5.1",
+ "Packages": [
+ "./..."
+ ],
+ "Deps": []
+}
diff --git a/Godeps/_workspace/.gitignore b/Godeps/_workspace/.gitignore
new file mode 100644
index 0000000..f037d68
--- /dev/null
+++ b/Godeps/_workspace/.gitignore
@@ -0,0 +1,2 @@
+/pkg
+/bin
diff --git a/Procfile b/Procfile
new file mode 100644
index 0000000..49204d1
--- /dev/null
+++ b/Procfile
@@ -0,0 +1,2 @@
+web: zipserver
+
diff --git a/main.go b/main.go
index 1957af1..18342ed 100644
--- a/main.go
+++ b/main.go
@@ -18,7 +18,7 @@ func main() {
func getInitializedDatabase() *ZipcodeDatabase {
db := NewZipcodeDatabase()
- err := db.LoadFromCSV("./zips.csv")
+ err := db.LoadFromCSV("zips.csv")
if err != nil {
fmt.Printf("%s\n", err)
}