-
http://localhost:8080 : angularJS app
-
http://localhost:8080/rest/server : access the Server REST resource
-
http://localhost:8080/rest/hello : sample basicauth-protected resource
mvn clean install
mvn seedstack:package
Then
java -jar target/angularjs-capsule.jar
or (one way to override embedded ip value):
java -Dseedstack.config.server.ip=192.168.0.1 -jar target/angularjs-capsule.jar
or (with external config file)
java -Dcapsule.classpath=/c/dev/workpaces/angularjs/external-config/ -jar target/angularjs-capsule.jar