Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.65 KB

File metadata and controls

49 lines (40 loc) · 1.65 KB

System Requirements:

Getting started

Running with Docker

The following execution includes the basic Docker Lippia Containers to run this API sample project.
You can choose the code from your favourite IDE, to run from console or from Jenkins by using the Docker Stack.

Note that if you don't have installed docker & docker-compose, Click here

  • First Step

    • Make sure you have installed docker-engine correctly
      $ docker --version
      OUTPUT:
      Docker version 19.03.15, build 99e3ed8919
      
  • Second Step

    • Make sure you have installed docker-compose correctly
      $ docker-compose --version
        OUTPUT:
      docker-compose version 1.29.2, build 5becea4c
      
  • Third Step

    • Go to root project folder and you will find a pom.xml file

      $ cd lippia-api-sample-project
      
    • Run the following command:

      $ sudo docker-compose -f docker-compose.yml up --abort-on-container-exit --exit-code-from lippia
        OUTPUT:
        Creating network "lippia-api-sample-project_default" with the default driver
        Creating lippia-api-sample-project_lippia_1 ... done
        Attaching to lippia-api-sample-project_lippia_1
        lippia_1  | Running custom Command mvn clean test -PSecuencial -Dcucumber.tags=@Success
        ...