Go to file
young c53bb92cf9
continuous-integration/drone/push Build is passing Details
Update .trustie-pipeline.yml
2022-06-16 15:49:09 +08:00
api files 2020-10-21 14:26:25 +08:00
helpers files 2020-10-21 14:26:25 +08:00
public files 2020-10-21 14:26:25 +08:00
scripts files 2020-10-21 14:26:25 +08:00
test files 2020-10-21 14:26:25 +08:00
.gitignore files 2020-10-21 14:26:25 +08:00
.trustie-pipeline.yml Update .trustie-pipeline.yml 2022-06-16 15:49:09 +08:00
Dockerfile files 2020-10-21 14:26:25 +08:00
LICENSE test 2021-01-20 19:48:06 +08:00
Makefile files 2020-10-21 14:26:25 +08:00
README.md Update README.md 2022-06-16 15:41:15 +08:00
config.js files 2020-10-21 14:26:25 +08:00
package.json files 2020-10-21 14:26:25 +08:00
server.js files 2020-10-21 14:26:25 +08:00
yarn.lock files 2020-10-21 14:26:25 +08:00

README.md

Front-end app


Front-end application written in Node.js that puts together all of the microservices under microservices-demo.

Build

Dependencies

Name Version
Docker >= 1.12
Docker Compose >= 1.8.0
Make (optional) >= 4.1

Node

npm install

Docker

make test-image

Docker Compose

make up

Test

Make sure that the microservices are up & running

Unit & Functional tests:

make test

End-to-End tests:

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

Run

Node

npm start

Docker

make server

Use

Node

curl http://localhost:8081

Docker Compose

curl http://localhost:8080

Push

GROUP=weaveworksdemos COMMIT=test ./scripts/push.sh