From 51e9f8300173e78691f03c52d10076a2bfe4cd2b Mon Sep 17 00:00:00 2001 From: Utsav Paul <91927689+Smartmind12@users.noreply.github.com> Date: Sun, 1 Oct 2023 20:52:58 +0530 Subject: [PATCH] Update download-and-installation.md Uodate documentation by using Code tabs for reduction in vertical space --- _docs/download-and-installation.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/_docs/download-and-installation.md b/_docs/download-and-installation.md index 33e740f1..6c7fa81a 100644 --- a/_docs/download-and-installation.md +++ b/_docs/download-and-installation.md @@ -32,16 +32,20 @@ conflicting versions of its dependencies. The standalone JAR is also runnable (s ## Standalone Service -### Docker - Run the following in a terminal: +{% codetabs %} + +{% codetab Docker %} + ```bash docker run -it --rm -p 8080:8080 --name wiremock \ wiremock/wiremock:{{ site.wiremock_version }} ``` -### Maven +{% endcodetab %} + +{% codetab Maven %} ```xml @@ -52,12 +56,18 @@ docker run -it --rm -p 8080:8080 --name wiremock \ ``` -### Gradle +{% endcodetab %} + +{% codetab Gradle Groovy %} ```groovy testImplementation "org.wiremock:wiremock-standalone:{{ site.wiremock_version }}" ``` +{% endcodetab %} + +{% endcodetabs %} + Learn more in the [Docker guide](../docker). ### Direct download