Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Using the Gitbash terminal, navigate to /c/work

  2. Clone down the following projects

    1. https://bitbucket.org/stream2stream/react_app-vat_calculator/src/main/

    2. https://bitbucket.org/stream2stream/vat_calculator_service/src/main/

  3. Start Docker

  4. Open Windows' terminal in Admin mode (right-click on Windows Start, and select Terminal (Admin)

  5. Navigate to c:\work\vat_calculator_service

  6. Enter the command mvn package, this will build the binary for the calculator service. A number of files will have been created in the target folder. You will need the file called vat_calculator_service-0.0.1-SNAPSHOT-spring-boot.jar

  7. Navigate to c:\work\react_app-vat_calculator.

  8. Create a folder called target

  9. Copy the file vat_calculator_service-0.0.1-SNAPSHOT-spring-boot.jar into the target folder

  10. Run the command docker build --tag=vat_calculator_service:latest .

    1. the full stop is important

  11. Run the command docker run -p 3000:3000 -p 8080:8080 --name vatc_fe --rm vat_calculator_service this will create a single docker container containing the 3 applications that are all wired together

...