Skip to content

Commit

Permalink
Merge pull request #660 from jcoyne/patch-1
Browse files Browse the repository at this point in the history
Be explicit about the usage of the properties file
  • Loading branch information
ksclarke authored Jul 31, 2024
2 parents a6ec5c3 + 37f232f commit 322f101
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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

Expand Down

0 comments on commit 322f101

Please sign in to comment.