I am part-way-on to making a stand-alone Raspi project.
My RaspiB+ I shall be using now has Python and Cherrypy and pip installed and a work-in-progress single-page HTML file installed in /home/pi. The HTML file for the moment only contains visual layout information.. I have setup the CherryPy HTTP server to work on LAN address 192.168.1.x via port 8083 and I can 'see' it, both using iceweasel on the Raspi and remotely over the LAN using Firefox on a Windows PC. To test this so far, I copied the much-quoted simplest tutorial example using only a textual message from the server and added the necessary few extra lines of code from examples to let me do this.
My next step needs to be enabled to 'see' the html file. Having spent several wasted days failing to get a sufficient grip on lots of CherryPy tutorials, I'd be gratefukl for a pointer to a HowTo or a code snippet that will let me point Firefox at the server and display the HTML file, using http://192.168.1.x:8083
. I've tried adding <return open(os.path.join('/home/pi', u'yyyy.html'))>, without the arrows, in the .py script. I don't know what the 'u' is there for (just taken from tutorial text) that seems to want to help but fails. I've also tried removing the 'u' but that's no good, either.
Thanks in advance for anything that works.
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries