- Java 8
- Maven 3
- 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 uber-waltz-web-1.0-SNAPSHOT.jar Main
Deploy the war file in:
waltz-web/target/waltz-web.war
Ensure waltz.properties
and and overridden logback.xml
file
are available (typically on the classpath).
When the server starts you will see messages about registering enpoints and CORS services, similar to:
....
7:59:43.633 [main] INFO com.khartec.waltz.web.Main - Registering Endpoint: userEndpoint
17:59:43.637 [main] INFO com.khartec.waltz.web.Main - Registering Endpoint: authenticationEndpoint
17:59:43.639 [main] INFO com.khartec.waltz.web.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 com.khartec.waltz.web.Main - Completed endpoint registration
17:59:43.649 [main] INFO com.khartec.waltz.web.Main - Enabled CORS