Skip to content

Commit

Permalink
add new installer
Browse files Browse the repository at this point in the history
  • Loading branch information
bastian-f committed Oct 1, 2018
1 parent e9d0115 commit 4133a5d
Show file tree
Hide file tree
Showing 6 changed files with 921 additions and 409 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ The table below shows, in order, the methods and properties inside the workspace
<tbody>
<tr valign="top"><td>id</td><td>string</td><td>"com-chilipeppr-workspace-bastianf2"<br><br>The ID of the widget. You must define this and make it unique.</td></tr><tr valign="top"><td>name</td><td>string</td><td>"Workspace / bastianf2"</td></tr><tr valign="top"><td>desc</td><td>string</td><td>"A ChiliPeppr Workspace bastianf2."</td></tr><tr valign="top"><td>url</td><td>string</td><td>"http://raw.githubusercontent.com/bastian-f/workspace-bastianf2/master/auto-generated-workspace.html"</td></tr><tr valign="top"><td>fiddleurl</td><td>string</td><td>"http://ide.c9.io/undefined/undefined"</td></tr><tr valign="top"><td>githuburl</td><td>string</td><td>"http://github.com/bastian-f/workspace-bastianf2"</td></tr><tr valign="top"><td>testurl</td><td>string</td><td>"http://undefined-undefined.c9users.io/workspace.html"</td></tr><tr valign="top"><td>foreignSubscribe</td><td>object</td><td>Please see docs above.</td></tr><tr valign="top"><td>widgetConsole</td><td>object</td><td>Contains reference to the Console widget object. Hang onto the reference
so we can resize it when the window resizes because we want it to manually
resize to fill the height of the browser so it looks clean.</td></tr><tr valign="top"><td>widgetSpjs</td><td>object</td><td>Contains reference to the Serial Port JSON Server object.</td></tr><tr valign="top"><td>init</td><td>function</td><td>function () <br><br>The workspace's init method. It loads the all the widgets contained in the workspace
and inits them.</td></tr><tr valign="top"><td>getBillboard</td><td>function</td><td>function () <br><br>Returns the billboard HTML, CSS, and Javascript for this Workspace. The billboard
resize to fill the height of the browser so it looks clean.</td></tr><tr valign="top"><td>widgetSpjs</td><td>object</td><td>Contains reference to the Serial Port JSON Server object.</td></tr><tr valign="top"><td>init</td><td>function</td><td>function() <br><br>The workspace's init method. It loads the all the widgets contained in the workspace
and inits them.</td></tr><tr valign="top"><td>getBillboard</td><td>function</td><td>function() <br><br>Returns the billboard HTML, CSS, and Javascript for this Workspace. The billboard
is used by the home page, the workspace picker, and the fork pulldown to show a
consistent name/image/description tag for the workspace throughout the ChiliPeppr ecosystem.</td></tr><tr valign="top"><td>addBillboardToWorkspaceMenu</td><td>function</td><td>function () <br><br>Inject the billboard into the Workspace upper right corner pulldown which
follows the standard template for workspace pulldown menus.</td></tr><tr valign="top"><td>setupResize</td><td>function</td><td>function () <br><br>Listen to window resize event.</td></tr><tr valign="top"><td>onResize</td><td>function</td><td>function () <br><br>When browser window resizes, forcibly resize the Console window</td></tr><tr valign="top"><td>loadCustSpjsWidget</td><td>function</td><td>function (callback) <br><br>Load the custom Serial Port JSON Server widget via chilipeppr.load()</td></tr><tr valign="top"><td>loadSenscapeBootloaderWidget</td><td>function</td><td>function (callback) <br><br>Load Senscape Bootloader Widget via chilipeppr.load()</td></tr>
consistent name/image/description tag for the workspace throughout the ChiliPeppr ecosystem.</td></tr><tr valign="top"><td>addBillboardToWorkspaceMenu</td><td>function</td><td>function() <br><br>Inject the billboard into the Workspace upper right corner pulldown which
follows the standard template for workspace pulldown menus.</td></tr><tr valign="top"><td>setupResize</td><td>function</td><td>function() <br><br>Listen to window resize event.</td></tr><tr valign="top"><td>onResize</td><td>function</td><td>function() <br><br>When browser window resizes, forcibly resize the Console window</td></tr><tr valign="top"><td>loadCustSpjsWidget</td><td>function</td><td>function(callback) <br><br>Load the custom Serial Port JSON Server widget via chilipeppr.load()</td></tr><tr valign="top"><td>loadSenscapeBootloaderWidget</td><td>function</td><td>function(callback) <br><br>Load Senscape Bootloader Widget via chilipeppr.load()</td></tr>
</tbody>
</table>

Expand Down
9 changes: 9 additions & 0 deletions auto-generated-workspace.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,14 +385,17 @@
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">English <span class="sr-only">(current)</span></a></li>
<li><a href="index-es.html?forcerefresh=true">Castellano</a></li>
<!--
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Download Serial Port Server <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="binaries/serial-port-json-server">Linux</a></li>
<!-- <li><a href="#">Mac</a></li> -->
<!--
<li><a href="binaries/serial-port-json-server.exe">Windows</a></li>
</ul>
</li>
-->
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
Expand Down Expand Up @@ -424,6 +427,7 @@
<div class="instructions"><p>

<ol>
<!--
<li>If you are using Windows and do not have installed the drivers for your K-PROX yet <a href="https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers.zip" class="btn btn-info btn-xs">
<span class="glyphicon"></span>Download</a> them. You get a zip archive. After downloading and unpacking it, execute the exe that suits your platform.</li>
<li>Download the Serial Port Server: Click on the dropdown menu in the upper right corner and choose your platform.
Expand All @@ -433,6 +437,11 @@
</a> </li>
<li> Your K-PROX should now have appeared in the Serial Port Server Widget below. Select it, please.</li>
<li> Upload the new version of the firmware by clicking on the 'Reprogram' button.</li>
-->
<li>For first time users, please <a href="binaries/serial-port-json-server.exe" class="btn btn-info btn-xs"><span class="glyphicon"></span>Download</a> and install the JMA-KPROX application.</li>
<li>Connect your K-PROX and execute the launcher application.</li>
<li>Your K-PROX should now appear in the Serial Port Server list below. Please select it.</li>
<li>Click the 'Reprogram' button to upload the latest firmware version for your K-PROX.</li>
</ol>
</p>
</div>
Expand Down
Loading

0 comments on commit 4133a5d

Please sign in to comment.