A service for exploring the StrengthsFinder strengths of a team.
Use the provided gradle wrapper to build a fat jar
> ./gradlew shadowJar
Before running the app for the first time, you'll need to set up the database schema
-
Create an empty PostgreSQL database
-
Update config.yml to reference your postgres instance and rebuild the application
./gradlew shadowJar
-
Run the database migrations
java -jar build/libs/strengths-service-1.0.0-SNAPSHOT-all.jar db migrate build/resources/main/config.yml
With gradle
> ./gradlew run
With java
> java -jar build/libs/strengths-service-1.0.0-SNAPSHOT-all.jar server build/resources/main/config.yml
You can override any config by passing a java system property when running
> java
-Ddw.database.url=jdbc:postgresql://proddb/strengths \
-Ddw.database.user=produser \
-Ddw.database.password=secret \
-jar build/libs/strengths-service-1.0.0-SNAPSHOT-all.jar server build/resources/main/config.yml