From c92989a8fc738094b205094a1bdd458a40c23d9c Mon Sep 17 00:00:00 2001 From: Horus3 Date: Fri, 20 Feb 2015 23:43:36 +0100 Subject: Add more targets for make, env.sh and check for configuration. --- app/env.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 app/env.sh (limited to 'app/env.sh') 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 -- cgit v1.2.3