Difference between revisions of "RaspberryTortoise Web Server"

From SingletonMillerWiki
Jump to: navigation, search
(First info on software)
 
m (Added second category RaspberryTortoise)
 
Line 1: Line 1:
 
[[Category:Software]]
 
[[Category:Software]]
 +
[[Category:RaspberryTortoise]]
 
This is the first step: a simple asynchronous response mechanism. At the moment it does not parse the request and is hard-coded to simply execute <code>python -V</code> and emit a response containing the stdout, stderr and error response.
 
This is the first step: a simple asynchronous response mechanism. At the moment it does not parse the request and is hard-coded to simply execute <code>python -V</code> and emit a response containing the stdout, stderr and error response.
  

Latest revision as of 09:44, 12 August 2012

This is the first step: a simple asynchronous response mechanism. At the moment it does not parse the request and is hard-coded to simply execute python -V and emit a response containing the stdout, stderr and error response.

You can run it using node raspberryPiController.js then view the current hard-coded response by browsing to http://127.0.0.1/8124

The next steps:

  • Parse the request for incoming control commands
  • Create an example HTML page (firstly to request the existing functionality, and secondly to construct a command and send that as the request)