Neil, I am not sure I completely understand how you are implementing this. Mario, What is the bare minimum code I need to get to work so that a TW5 on a Raspberry Pi can save itself locally on the server? What Tiddlers do I need to experiment with and put into TW5 to make it work with the Server Code and what Code needs to be server side?
I understand the nature of the problem just not the specifics. I understand that the TiddlyWeb Server uses Python and is based on TWClassic. Being based on Python could actually help TW5 communicate with the Pi as several people have created Python Server to Pi GPIO stuff. I need to walk first, maybe crawl then walk, after that I can think about jogging and running with making TW work with Python to the Pi. So I need to get TW5 'editable' on the Raspberry Pi with TW5 saving itself on the RasPi Server Side. Any help is greatly appreciated and thanks again. Rich Shumaker On Friday, January 2, 2015 5:52:38 AM UTC-8, PMario wrote: > > Hi Rich, > > My tweb-config script is/was able to install a TiddlyWeb environment. > The "twanager server" command is part of TiddlyWebWiki, which uses > TiddlyWikiClassic as the frontend. > It also installs a simple server, that lets you access the content. But > this server is not a general purpose web server. > > If you want to use TW5, a different, more general approach is needed. > > You can use nginx or apache to serve files. eg: index.html (TW5) with an > installed TiddlyWeb adaptor. > Nginx/apache can then be configured to serve files eg: images, that are > stored in an image subdirectory. ... So TW can use relative image links and > the images don't have to be part of index.html. > > TiddlyWeb can be accessed using wsgi "drivers". WSGI is a web server > gateway interface, that can use the TiddlyWeb python app and create the > TiddlyWeb REST API. > > ... The problem for me here is, that TiddlyWeb is written in python. While > python is a good language and widely used, I don't like it. > I can read it, but I can't program it. So if something unexpected happens, > I can't easily fix it. ... > I know, I could learn python, but I found out, that won't happen any time > soon. (never say never :) > > I want to have a TiddlyWeb backend, that is based on javascript. > > -mario > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
