In the project directory:
mvn clean install
In the project directory:
mvn clean test
In the project directory:
java -jar target/java-server-1.0-SNAPSHOT.jar
server.jar takes in two optional arguments:
-pwhich specifies the port to listen on. Default is 5000.-dwhich specifies the directory to serve files from. Default is /public
To run the Java-server against cob_spec:
Start the java-server from command-line using the given command above.
Setup cob_spec using the instructions on cob_spec's github repository README.
Don't forget to set PUBLIC_DIR to cob_spec's public folder and the SERVER_START_COMMAND to point to target/java-server-1.0-SNAPSHOT.jar!