diff --git a/README.docker.md b/README.docker.md new file mode 100644 index 0000000..db639f8 --- /dev/null +++ b/README.docker.md @@ -0,0 +1,25 @@ +# What is LWSAPP? + +This is a Spring Boot server application +that serves the web services on http://learnwebservices.com site. + +The main purpose of this site to provide a free, public, sample SOAP webservices +for everyone. These webservices are designed to long live, so they can be +used in tutorials, videos, blog posts, Stack Overflow, etc. + +# How to use this image? + +Starting an instance with the following command: + +```shell +docker run -p 8080:8080 --name my-lwsapp vicziani/lwsapp +``` + +Then check the `http://localhost:8080` address! + +# Quick reference + +* **Where to find more information:** + https://www.learnwebservices.com/ +* **Source code:** + https://github.com/vicziani/learnwebservices-server \ No newline at end of file diff --git a/README.md b/README.md index 482c401..af9d43f 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,30 @@ The main purpose of this site to provide a free, public, sample SOAP webservices for everyone. These webservices are designed to long live, so they can be used in tutorials, videos, blog posts, Stack Overflow, etc. +## Run with Maven + +If you have at least 11 version of JDK installed, clone the +repository, then run the application with +the following command in the root folder of the project. + +```shell +mvnw spring-boot:run +``` + +Then check the `http://localhost:8080` address! + +## Run with Docker + +If you have Docker installed run the application with the following command. +No source is needed, it will download the latest Docker image from +Docker Hub. + +```shell +docker run -p 8080:8080 --name my-lwsapp vicziani/lwsapp +``` + +Then check the `http://localhost:8080` address! + ## About the author This site was developed by István Viczián, the author of the http://jtechlog.hu blog.