summaryrefslogtreecommitdiff
path: root/app/env.sh
diff options
context:
space:
mode:
authorHorus32015-02-20 23:43:36 +0100
committerHorus32015-02-20 23:43:36 +0100
commitc92989a8fc738094b205094a1bdd458a40c23d9c (patch)
tree45910c30216c81912d981e467582278c4fa35143 /app/env.sh
parenta8d9e02831d4b01e47f24a30144b5522c03b2b8c (diff)
downloadstatuspage-c92989a8fc738094b205094a1bdd458a40c23d9c.tar.gz
Add more targets for make, env.sh and check for configuration.
Diffstat (limited to 'app/env.sh')
-rwxr-xr-xapp/env.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/env.sh b/app/env.sh
new file mode 100755
index 0000000..81b344f
--- /dev/null
+++ b/app/env.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Database
+export STATUS_DB_DRIVER=sqlite3
+export STATUS_DB_CREDENTIALS=../db/status.db
+export STATUS_DB_IMPORT_DRIVER=github.com/mattn/go-sqlite3
+
+# Redis
+export STATUS_REDIS_SERVER=127.0.0.1
+export STATUS_REDIS_PORT=6379
+
+# Http
+export STATUS_HTTP_IP=127.0.0.1
+export STATUS_HTTP_PORT=8080