Skip to content

Commit

Permalink
Merge pull request #92 from Toldo171/issue_88
Browse files Browse the repository at this point in the history
tutorial update
  • Loading branch information
aturley committed Feb 10, 2012
2 parents f6cd200 + 05345f3 commit cbd56f5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tutorial.html
Expand Up @@ -112,6 +112,10 @@ <h2>The Application</h2>
repository from our github page. Be sure to run the repository from our github page. Be sure to run the
<strong>init.py</strong> script with your Bug Labs account <strong>init.py</strong> script with your Bug Labs account
credentials.</p> credentials.</p>
<pre class="prettyprint">
./init.py init Username Password

</pre>


<p>In addition to BUGswarm Tools, we are going to use our <p>In addition to BUGswarm Tools, we are going to use our
JavaScript library for building our monitoring web application. JavaScript library for building our monitoring web application.
Expand Down Expand Up @@ -358,15 +362,10 @@ <h4>Starting to Talk</h4>
have the page open, it's time to start tagging people. To have the page open, it's time to start tagging people. To
do this, we will use the BUGswarm Tools produce script.</p> do this, we will use the BUGswarm Tools produce script.</p>
<pre class="prettyprint language-javascript"> <pre class="prettyprint language-javascript">
./produce.py produce SWARM_ID RESOURCE_ID -w ./produce.py produce SWARM_ID RESOURCE_ID
</pre> </pre>


<p>The -w will wrap your messages in the correct fomatting <p>To update everyone's page to display who is
so that all you need to input is the payload, as documented
in the <a href=
"participation_api.html#sending-messages">sending
messages</a> section of the Participation API
documentation, To update everyone's page to display who is
it, make sure your message is in the format:</p> it, make sure your message is in the format:</p>
<pre class="prettyprint language-javascript"> <pre class="prettyprint language-javascript">
{ "communication" : "JOHN IS IT!" } { "communication" : "JOHN IS IT!" }
Expand Down

0 comments on commit cbd56f5

Please sign in to comment.