From 37f232ffe290fe0b02ffd9e58dd52c62541757c7 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 18 Jun 2024 16:50:52 -0500 Subject: [PATCH] Be explicit about the usage of the properties file --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a2e84a7b..3b53f62d9 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ ### Command line -* `mvn clean compile exec:java -Dcantaloupe.config=...` will build and run the +* `cp cantaloupe.properties.sample cantaloupe.properties` then edit cantaloupe.properties per your needs. +* `mvn clean compile exec:java -Dcantaloupe.config=cantaloupe.properties` will build and run the project using the embedded web server listening on the port(s) specified in `cantaloupe.properties`. * `mvn clean package -DskipTests` will build a release JAR in the `target` @@ -25,7 +26,7 @@ 1. Add a new run configuration using the "Java Application" template or similar. 2. Set the main class to `edu.illinois.library.cantaloupe.StandaloneEntry` and - add the `-Dcantaloupe.config=...` VM option. + add the `-Dcantaloupe.config=cantaloupe.properties` VM option. ## Test