Hi David, Thanks for the quick reply. I didn't expect such a fast reaction, so I shut down my PC yesterday.
Yesterday I installed Cygwin as well (I did not mention it in my post); entering sh bld.sh in the node.js command prompt resulted in: 'sh' is not recognized as an internal or external command, operable program or batch file. That was already hinting at a path problem but I did not realize that. Via the start menu I found the Cygwin terminal so the shell command must be there. Cygwin was installed at c:\cygwin Changing to the c:\cygwin\bin directory in the command prompt, sh resulted in: sh-4.1$ The shell is there and works; so for sure it is a path problem. I appended C:\cygwin\bin; to the path and after a reboot it works: sh bld.sh builds all the basic TiddlyWiki's. Now TW5 in server mode works. Curious about the Github route, I searched my hard disk for other 'sh.exe' files and found the "Github version" (thanks to Everything [1]) at: C:\Users\"username"\AppData\Local\GitHub\PortableGit_015aa71ef18c047ce8509ffb2f9e4bb0e3e73f13\bin This sh.exe responded with: sh.exe"-3.1$ Please add some notes about expanding the path. sh.exe can easily be found with Everything [1] when using Windows; I use the portable version of it. Many thanks for your walkthrough and the help. Ton On Monday, September 16, 2013 10:52:41 PM UTC+2, David Johnston wrote: > > Hi Ton, > > Firstly, thanks for trying out the walk through. I appreciate the feedback > and hopefully anything we find can help improve it :) > > If bld.sh didn't run then you don't have anything loaded that can execute > the shell script. So first thing we need to do is fix that. > > I used Cygwin instead of github for windows. Lets try that first see if it > solves the problem. > > Go to Cygwin and download and install please. > > Once that is done, go to the node.JS command prompt again and enter the > command: - > > sh > > it should return with something like: - > > sh-4.1$ > > If it doesn't then the shell (sh) command is not in your system path and > we can get round to fixing that. > > If it does respond like that, then you are almost there :) > > first type: - > > exit > > This will drop you back to the Node.JS command prompt. > > from that position follow from step 10. in the list above .. and when it > comes to running bld.sh you will need step 12 instead of 11 as you are > using CYGWIN. > > In step 13 you will need to add SH in front of the server command .. like > this: - > > sh serve.sh > > Hope this helps. If there is a problem I will be around for the next 30 > mins or so before heading to bed. > > David > > > > > -- 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/groups/opt_out.
