cat/run_jar_with_config.sh

16 lines
554 B
Bash
Raw Normal View History

2019-02-14 01:20:33 +01:00
#!/usr/bin/env bash
export DATABASE_URL="mysql://localhost:3306/cat_dev?user=cat_user&password=local-pass"
export APP_HOST="http://localhost:3000"
export PORT="3000"
export USER_API_URI="https://adams.ugent.be/oauth/api/current_user/"
export AUTHORIZE_URI="https://adams.ugent.be/oauth/oauth2/authorize/"
export ACCESS_TOKEN_URI="https://adams.ugent.be/oauth/oauth2/token/"
export OAUTH_CONSUMER_KEY="tomtest"
export OAUTH_CONSUMER_SECRET="blargh"
java \
-Dlogback.configurationFile=env/dev/resources/logback.xml \
2019-06-08 18:32:20 +02:00
-jar target/uberjar/cat.jar