Permalink
Browse files

tutorial update

  • Loading branch information...
Maxime Vedelago
Maxime Vedelago committed Feb 10, 2012
1 parent f6cd200 commit 05345f3c49a71cfbc3f45f24fb5dd30d477d7029
Showing with 6 additions and 7 deletions.
  1. +6 −7 tutorial.html
View
@@ -112,6 +112,10 @@ <h2>The Application</h2>
repository from our github page. Be sure to run the
<strong>init.py</strong> script with your Bug Labs account
credentials.</p>
+ <pre class="prettyprint">
+./init.py init Username Password
+
+</pre>
<p>In addition to BUGswarm Tools, we are going to use our
JavaScript library for building our monitoring web application.
@@ -358,15 +362,10 @@ <h4>Starting to Talk</h4>
have the page open, it's time to start tagging people. To
do this, we will use the BUGswarm Tools produce script.</p>
<pre class="prettyprint language-javascript">
-./produce.py produce SWARM_ID RESOURCE_ID -w
+./produce.py produce SWARM_ID RESOURCE_ID
</pre>
- <p>The -w will wrap your messages in the correct fomatting
- 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
+ <p>To update everyone's page to display who is
it, make sure your message is in the format:</p>
<pre class="prettyprint language-javascript">
{ "communication" : "JOHN IS IT!" }

0 comments on commit 05345f3

Please sign in to comment.