From 918b4014f2de07f4b1ca0d79b5dcffa722a473e5 Mon Sep 17 00:00:00 2001 From: brmnjsh Date: Thu, 14 Mar 2019 16:48:54 -0400 Subject: [PATCH] Update README.md --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e033fd..af821ec 100755 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ payload = { token = JWT.encode payload, hmac_secret, "HS256" ``` -* to test your changes before pushing you can run `compose test` +* to test your changes before pushing you can run `npm test` ## Setting up * download the braid repo into a folder in the same directory as the primary yardstick folder @@ -43,3 +43,17 @@ token = JWT.encode payload, hmac_secret, "HS256" * `tsc` transpiles the typescript in braid into javascript * `compose build braid` builds the braid container based on the latest transpiled javascript files * `comopose up -d` builds the braid container based on the files in the braid folder, overriding the defaul braid build container + +## Building to docker hub +* run `./build` +* when complete you'll see something like this `Your new docker tag: yardstick/micro-services:braid-tagid` +* copy this tag id, and in the yardstick `docker-compose.yml` file change the `image` field to have the new tage, for example: +``` +braid: + image: yardstick/micro-services:braid-{add the new tag here} + environment: + VIRTUAL_HOST: ysbraid.localhost + HTTPS_METHOD: noredirect + VIRTUAL_PORT: 8443 +``` +* once complete and confirmed to function, create a new PR for the measure repo, with the new tag and await ultimate judgement