readme addition
This commit is contained in:
parent
b487187d22
commit
e6274901ed
@ -9,6 +9,8 @@
|
|||||||
* braid uses [typescript](https://www.npmjs.com/package/typescript) for our primary code development because of it's opinionated type management among other things. Get a good understanding of what typescript is, it's benifits, drawbacks, and dev flow
|
* braid uses [typescript](https://www.npmjs.com/package/typescript) for our primary code development because of it's opinionated type management among other things. Get a good understanding of what typescript is, it's benifits, drawbacks, and dev flow
|
||||||
|
|
||||||
## Setting up
|
## Setting up
|
||||||
|
* install (npm)[https://www.npmjs.com/get-npm]
|
||||||
|
* install typescript globally (`npm i -g typescript`). This is important because it is needed to transcompile, so you can run your changes, locally (using command `tsc`)
|
||||||
* download the braid repo into a folder in the same directory as the primary yardstick folder
|
* download the braid repo into a folder in the same directory as the primary yardstick folder
|
||||||
* `vagrant up` in the primary yardstick folder
|
* `vagrant up` in the primary yardstick folder
|
||||||
* run the command `compose stop braid && compose rm braid && tsc && compose build braid && compose up -d`
|
* run the command `compose stop braid && compose rm braid && tsc && compose build braid && compose up -d`
|
||||||
@ -17,7 +19,7 @@
|
|||||||
* `tsc` transpiles the typescript in braid into javascript
|
* `tsc` transpiles the typescript in braid into javascript
|
||||||
* `compose build braid` builds the braid container based on the latest transpiled javascript files
|
* `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
|
* `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
|
## Building to Docker Hub
|
||||||
* run `./build`
|
* run `./build`
|
||||||
* when complete you'll see something like this `Your new docker tag: yardstick/micro-services:braid-tagid`
|
* when complete you'll see something like this `Your new docker tag: yardstick/micro-services:braid-tagid`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user