/rest-o-rant-web

AngularJS frontend for the REST-o-RANT demo application

Primary LanguageCSS

To build

  1. Install Java 8.
  2. Modify the url and certPath properties in the docker section of the build.gradle file to point to your Docker machine.
  3. Build the image with: ./gradlew clean buildDockerImage
  • If you want to override the version of the image built, use: ./gradlew -Pversion=_VERSION_ clean buildDockerImage

To run

  1. Ensure that the rest-o-rant-api Docker container is running and is called rest-o-rant-api.
  2. Run the Docker image built in the previous step by executing: docker run -dP --link rest-o-rant-api --name rest-o-rant-web dkr-reg:5000/rest-o-rant-web:v1

To access

  1. Check the port at which port 80 is exposed by running docker ps.
  2. Open http://<DOCKER>:<PORT>/findrestaurants.
  3. See the JSON result.