Skip to content

Commit

Permalink
Switched to NPM instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
davidthor committed Nov 4, 2018
1 parent 3f7886e commit dfec886
Show file tree
Hide file tree
Showing 11 changed files with 8,466 additions and 5,880 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
node_modules
.idea
architect_services
oclif.manifest.json
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,25 +100,35 @@ _See code: [src/commands/start.ts](https://github.com/snappi/architect-cli/blob/
<!-- commandsstop -->

# Demo
Install architect via yarn

* [Install GRPC and Protoc](https://github.com/grpc/grpc/blob/master/BUILDING.md#pre-requisites)
* [Make sure you have node JS installed](https://nodejs.org/en/download/package-manager/)
* The demo includes javascript services, which means we'll need the node plugins for grpc and protobuf
```
$ npm install -g yarn
$ yarn global add grpc
$ yarn global add google-protobuf
```

* Install architect via yarn
```
$ yarn global add @snappi/architect
```

Clone the demo project
* Clone the demo project
```
$ git clone git@github.com:snappi/calculator-service-demo.git
$ cd calculator-service-demo/test-service
```

Install the client stubs for the test script and its dependencies
* Install the client stubs for the test script and its dependencies
```
$ architect install --recursive
```

Start the test service
* Start the test service
```
$ architect start
```

Done!
* Done!
Loading

0 comments on commit dfec886

Please sign in to comment.