diff options
| author | Horus3 | 2015-08-01 23:24:02 +0200 |
|---|---|---|
| committer | Horus3 | 2015-08-01 23:24:02 +0200 |
| commit | f80efe5616ba247a1fff074b0876631a9bfb6f96 (patch) | |
| tree | 3a92b8b3fbccc32d3016029d0f47b061788656da /run.sh | |
| parent | db550a0edb5f21220151530f91056c4acbcc87b7 (diff) | |
| download | mandible-f80efe5616ba247a1fff074b0876631a9bfb6f96.tar.gz | |
Merges the production setup.
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -4,11 +4,11 @@ set -e APP="mandible" compile=0 -if [ "x$1" != "x" ]; then - compile=1 -fi +#if [ "x$1" != "x" ]; then +# compile=1 +#fi -if [ ! -x $APP ] || [ $compile == 1 ]; then +if [ ! -x $APP ] || [ $compile -eq 1 ]; then echo "Compiling $APP..." echo go build @@ -23,9 +23,10 @@ fi echo "Running $APP..." export PORT=8087 +export IP=127.0.0.1 STATIC_DIR=$(pwd)/static \ IMGUR_GO_CONF=$(pwd)/config/conf.json \ UPLOAD_DIR=$(pwd)/files \ -UPLOAD_URL=http://i.iamfabulous.de \ +UPLOAD_URL=https://i.iamfabulous.de \ ORIGIN_URL=https://images.iamfabulous.de \ ./$APP |
