Skip to content

Commit

Permalink
Merge pull request #58 from DEGoodmanWilson/master
Browse files Browse the repository at this point in the history
Add installation instuctions for CLI and Node.js usage.
  • Loading branch information
JasonEtco authored Jun 15, 2018
2 parents 6587e3d + f810695 commit b32b341
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion server/src/components/Blank.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ events.close()`
<hr />
<div className="mt-4 markdown-body">
<h3>Use the CLI</h3>
<p>The <code>smee</code> command will forward webhooks from smee.io to your local development environment.</p>
<pre>
$ npm install --global smee-client
</pre>
<p>Then the <code>smee</code> command will forward webhooks from smee.io to your local development environment.</p>
<pre><code>
$ smee -u {window.location.href}
</code></pre>
Expand All @@ -49,6 +52,10 @@ events.close()`
</code></pre>

<h3 className="mt-3">Use the Node.js client</h3>
<pre>
$ npm install --save smee-client
</pre>
<p>Then:</p>
<pre className="js" dangerouslySetInnerHTML={{ __html: hljs.highlight('javascript', code).value }} />

<h3 className="mt-3">Using Probot's built-in support</h3>
Expand Down

0 comments on commit b32b341

Please sign in to comment.