Robert von Burg
acd679636a
- These projects are the most simple versions of Strolch application which can be created. - strolch_minimal is a console based Java SE application - strolch_minimal_rest is a servlet based web application running on Tomcat 8. Once started a rest service is available: http://localhost:8080/strolch_minimal/rest/greetings?name=eitch |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
pom.xml |
README.md
Strolch Minimal
A minimal Strolch project which builds using Maven and the end result starts a console based Java Application.
Build
On the console run: $ mvn clean package This creates a tarball in target/strolch_minimal-${project.version}-bin.tar.gz
Run
Extract the tarball: $ cd target $ tar -xvzf strolch_minimal-1.0.0-SNAPSHOT-bin.tar.gz $ cd strolch_minimal-1.0.0-SNAPSHOT $ chmod u+x ./startup.sh $ ./startup.sh
Eclipse
In Eclipse create a runtime configuration with the following:
- Name: Strolch Minimal
- Main Class: li.strolch.minimal.main.Main
- Program Arguments: --env dev --root-path ${project_loc}/src/runtime
Starting the application should now work.