From 867e914bf9059eb632db3f0264c004fd55fca408 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 16 Jul 2015 12:22:24 -0800 Subject: [PATCH] Adding mailgun API jazz --- .gitignore | 3 +-- serve.sh | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 108221b..7023929 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,4 @@ _testmain.go *.prof # Application specific -gin-bin - +.env diff --git a/serve.sh b/serve.sh index 70e4e73..6658e84 100755 --- a/serve.sh +++ b/serve.sh @@ -1,6 +1,11 @@ #!/bin/sh +if [ -f .env ]; then + source .env +fi + SECRET=secret \ PGDATABASE=bactdbtest \ DOMAINS="http://localhost:4200" \ +ACCOUNT_KEYS=$ACCOUNT_KEYS \ bash -c 'go run *.go serve'