/ run_jar_with_config.sh
run_jar_with_config.sh
 1  #!/usr/bin/env bash
 2  
 3  export DATABASE_URL="mysql://localhost:3306/cat_dev?user=cat_user&password=local-pass"
 4  export APP_HOST="http://localhost:3000"
 5  export PORT="3000"
 6  export USER_API_URI="https://adams.ugent.be/oauth/api/current_user/"
 7  
 8  export AUTHORIZE_URI="https://adams.ugent.be/oauth/oauth2/authorize/"
 9  export ACCESS_TOKEN_URI="https://adams.ugent.be/oauth/oauth2/token/"
10  export OAUTH_CONSUMER_KEY="tomtest"
11  export OAUTH_CONSUMER_SECRET="blargh"
12  
13  java \
14      -Dlogback.configurationFile=env/dev/resources/logback.xml \
15      -jar target/uberjar/cat.jar