Skip to content

mjhea0/microservice-ping-pong

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Microservice Ping Pong

http://mherman.org/presentations/microservice-ping-pong

Want to learn how to build this project?

Check out the blog post.

Want to use this project?

  1. Fork/Clone this repo

  2. Download Docker (if necessary)

  3. Make sure you are using a Docker version >= 17:

    $ docker -v
    Docker version 17.09.0-ce, build afdb6d4
  4. Set the environment variables:

    $ export REACT_APP_BASE_URL=http://DOCKER_MACHINE_IP
  5. Build and tag the node-base image:

    $ docker build -t node-base ./services/node
  6. Fire up the containers

    $ docker-compose up -d --build
  7. Lint and test:

    $ docker-compose run node-john gulp lint
    $ docker-compose run node-john npm test