13 lines
456 B
Bash
13 lines
456 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Run the java jar
|
|
|
|
DATABASE_URL="postgresql://localhost:{{ cat_postgres_db_port }}/{{ cat_postgres_db }}?user={{ cat_postgres_user }}&password={{ cat_postgres_password }}"
|
|
PORT="{{ cat_app_port }}"
|
|
AUTHORIZE-URI="{{ authorize_uri }}"
|
|
ACCESS-TOKEN-URI="{{ access-token-uri }}"
|
|
OAUTH-CONSUMER-KEY="{{ OAUTH-CONSUMER-KEY }}"
|
|
OAUTH-CONSUMER-SECRET="{{ OAUTH-CONSUMER-SECRET }}"
|
|
|
|
java -jar {{ cat_git_destination }}/target/uberjar/cat.jar
|