datahub/datahub-frontend/run/run-local-frontend

21 lines
392 B
Plaintext
Raw Normal View History

2019-08-31 20:51:14 -07:00
#!/bin/bash
CURRENT_DIR=$(pwd)
BUILD_DIR=../build/stage/main
2019-08-31 20:51:14 -07:00
CONF_DIR=$BUILD_DIR/conf
set -a
source frontend.env
set +a
export JAVA_OPTS="
-Xms512m
-Xmx1024m
2021-02-10 16:10:08 -08:00
-Dhttp.port=$PORT
2019-08-31 20:51:14 -07:00
-Dconfig.file=$CONF_DIR/application.conf
-Djava.security.auth.login.config=$CURRENT_DIR/jaas.conf
2019-08-31 20:51:14 -07:00
-Dlogback.configurationFile=$CURRENT_DIR/logback.xml
-Dlogback.debug=true"
$BUILD_DIR/bin/datahub-frontend