diff --git a/README.md b/README.md index 777f721..8870e89 100644 --- a/README.md +++ b/README.md @@ -29,38 +29,7 @@ To start the application with the default configuration ([application.properties java -jar target/owl-VERSION.jar ``` -An external configuration can be provided when starting the app to configure the project name, database properties, change the port the app is running on or toggle specific features. - -``` -# Sets the project name to be visible on frontend -project.name= - -# Comma separated list of suite names that will be shown on dashboard (can be left empty) -suite.statistics=smoke test,regression test - -# Feature toogles -# Show git information on dashboard - branch and commit hash of the tested code -project.features.git.info=false - -# Github repo link used to generate links to specific commits -git.github.repo= - -# Database Properties -spring.datasource.url=jdbc:postgresql://:5432/ -spring.datasource.username= -spring.datasource.password= - -# Logging Properties -logging.level.org.hibernate.SQL=debug - -# Set port - 0 means the default port will be used -server.port=0 - -# Properties for flyway baseline migrations -flyway.url=jdbc:postgresql://:5432/ -flyway.user= -flyway.password= -``` +An external configuration ([application.properties](src/main/resources/application.properties)) can be provided when starting the app to configure the project name, database properties, change the port the app is running on or toggle specific features. The configuration can be saved to a file and passed when starting the app with: ``` diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0811a22..f6bcd1b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,7 +6,7 @@ project.name=Project Name server.port=8090 # Comma separated list of testSuite names that will be shown on dashboard -suite.statistics= +suite.statistics=smoke test,regression test # Feature toggles # Show git information on dashboard @@ -25,3 +25,12 @@ spring.datasource.password=owlpassword # Logging Properties logging.level.org.hibernate.SQL=debug + + +# Set port - 0 means the default port will be used +server.port=0 + +# Properties for flyway baseline migrations +flyway.url=jdbc:postgresql://localhost:5432/owl-db +flyway.user=owlusername +flyway.password=owlpassword \ No newline at end of file