Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.21 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.21 KB

About

GreetMe Web is a trivial web frontend for GreetMe Server that allows a user to request personalized greeting messages in his preferred language.

It is merely a simple demo application that was used for winning insights of the build, deployment, and management possibilities provided by PaaS solutions.

For more details, see the description of GreetMe Server.

Build and run

Execute in both GreetMe Web and GreetMe Server project:

mvn clean install

Use Docker Compose in this project to bring up both:

docker-compose up

Then, point your browser to http://localhost.

Run Selenium WebDriver tests

To run these integration tests, you need to have Docker, Firefox 52+, and geckodriver installed.

Also, you need to have built a Docker image for GreetMe Server. Therefore, run

mvn clean install && docker build -t greetme-server .

in that other project.

Finally, you need to set the path to the geckodriver in this project's pom.xml - look for line:

<argLine>-Dwebdriver.gecko.driver=/path/to/geckodriver</argLine>

You can then run the tests by using the Maven profile selenium:

mvn verify -Pselenium