strolch/strolch_minimal
Robert von Burg acd679636a [New] Added strolch_minimal and strolch_minimal_rest projects
- 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
2015-07-09 14:51:06 +02:00
..
src [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
.gitignore [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
LICENSE [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
README.md [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
pom.xml [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00

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.