Skip to content

Commit

Permalink
Merge pull request #34 from opengeospatial/20230124_reorganisation_of…
Browse files Browse the repository at this point in the history
…_conf_classes

Updates documentation about the docker image
  • Loading branch information
ghobona authored Jan 24, 2023
2 parents 9bdbb81 + 6bb7059 commit c6977d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
20 changes: 5 additions & 15 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,15 @@ This executable test suite is for the OGC API - Processes draft standard.
Visit the http://opengeospatial.github.io/ets-ogcapi-processes10/[project documentation website TBD]
for more information, including the API documentation.

== 2 minutes method
== How to run the test suite using Docker

Run the following commands:
Run the following maven command from the root folder of the repository:

[source,bash]
mkdir CITE
cd CITE
git clone https://github.com/opengeospatial/teamengine src
git clone https://github.com/opengeospatial/ets-common.git src1
cd src1
git clone -b testbed17 https://github.com/GeoLabs/ets-ogcapi-processes10.git
cd ..
# Build the docker image
docker build . -t teamengine/ogcapi-processes:latest
# Run the docker container
docker run -d --name cite-teamengine -p 8080:8080 teamengine/ogcapi-processes:latest
`mvn clean install -Dsource=8 docker:run -Pdocker`

From here, you can now access http://localhost:8080/teamengine to access the deployed teamengine with the OGC API - Processes Test Suite.
From here, you can now access http://localhost:8081/teamengine to access the deployed teamengine with the OGC API - Processes Test Suite.

You can log in as `ogctest`, with a password of ogctest.

== How to build the test suite

Expand Down
8 changes: 6 additions & 2 deletions src/site/asciidoc/how-to-run-the-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ suite in a command shell:
This test suite comes with a Dockerfile which can be used to easily setup the OGC test harness with
the test suite.

You need to retrieve the https://hub.docker.com/r/ogccite/ets-ogcapi-processes10[image from Docker Hub] by running the following
To run the test suite locally, using docker, execute following maven command from the root folder of the repository:

docker run -p 8081:8080 ogccite/ets-ogcapi-processes10
`mvn clean install -Dsource=8 docker:run -Pdocker`

Alternatively, you can retrieve a docker https://hub.docker.com/r/ogccite/ets-ogcapi-processes10[image from Docker Hub] by running the following

`docker run -p 8081:8080 ogccite/ets-ogcapi-processes10`

Then, open http://localhost:8081/teamengine/ to see below

Expand Down

0 comments on commit c6977d7

Please sign in to comment.