Skip to content

Commit

Permalink
Merge pull request coinbase#18 from pzagor2/master
Browse files Browse the repository at this point in the history
Update feed tutorial run command documentation
  • Loading branch information
CjS77 authored Sep 15, 2017
2 parents 95e8336 + b4cc1b7 commit fb94065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/pages/gtt/gtt_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ node.js and don't want to, or can't switch to Typescript, then that's not a prob
In either case, you can install the GTT by executing

yarn add gdax-trading-toolkit
// or if you're using npm
// or if you're using npm (Use yarn if you plan on running examples from /tutorials folder)
npm i gdax-trading-toolkit

(we're using [Yarn](https://yarnpkg.com/) here, which is essentially a 1:1 drop-in replacement for npm with a whole host
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/gtt_tutorials/gtt_tutorials_feed.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ This is pretty straightforward. After setting up the tally variables, we
process.exit(1);
});

THe `printTallies` function is just a bit of string-fu:
The `printTallies` function is just a bit of string-fu:

function printTallies() {
console.log(`${count} messages received`);
Expand All @@ -167,7 +167,7 @@ THe `printTallies` function is just a bit of string-fu:
If you've skipped ahead, or want to see the finished product, the full script resides at `/tutorials/t001_feeds.ts`.
Execute it with

$ ts-node src/tutorials/t001_feeds.ts
$ ts-node tutorials/t001_feeds.ts

{% include tip.html content="`ts-node` is a useful utility that compiles and runs Typescript code directly. Install it with `npm -g ts-node typescript`" %}

Expand Down

0 comments on commit fb94065

Please sign in to comment.