diff options
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 |
