- Java 8
- Maven 3.5
- Tomcat 8 (optional)
To build the web server use:
$> mvn clean package [-DskipTests]
Currently looks on classpath for waltz.properties
or falls
back to <home>/.waltz/waltz.properties
for options, should look something like this:
waltz.properties
Launch the server with
$> cd waltz-web/target
$> java -cp waltz-web-jar-with-dependencies.jar Main
Deploy the war file in:
waltz-web/target/waltz-web.war
Ensure waltz.properties
and overridden logback.xml
file
are available (typically on the classpath).
When the server starts you will see messages about registering endpoints and CORS services, similar to:
....
7:59:43.633 [main] INFO Main - Registering Endpoint: userEndpoint
17:59:43.637 [main] INFO Main - Registering Endpoint: authenticationEndpoint
17:59:43.639 [main] INFO Main - Registering Endpoint: dataExtractEndpoint
17:59:43.643 [main] DEBUG c.k.w.w.e.a.StaticResourcesEndpoint - Registering static resources
17:59:43.644 [main] INFO Main - Completed endpoint registration
17:59:43.649 [main] INFO Main - Enabled CORS