Front-end application written in Node.js that puts together all of the microservices under microservices-demo.
- Build node project
npm isntall
- Build docker image
docker build -t jmgoyesc/front-end .
- Publish docker image to docker hub
docker push jmgoyesc/dsp-front-end
Name | Version |
---|---|
Docker | >= 1.12 |
Docker Compose | >= 1.8.0 |
Make (optional) | >= 4.1 |
npm install
make test-image
make up
Make sure that the microservices are up & running
make test
To make sure that the test suite is running against the latest (local) version with your changes, you need to manually build the image, run the container and attach it to the proper Docker networks. There is a make task that will do all this for you:
make dev
That will also tail the logs of the container to make debugging easy. Then you can run the tests with:
make e2e
npm start
make server
curl http://localhost:8081
curl http://localhost:8080
GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh