Some feedback on the OP, which contains:
I found the above difficult to follow and have only just realised (after a few attempts to get this working) that I don’t need gulp. It does say so, so if I’d read it fully and carefully I’d have noticed the last line. But for a newcomer there’s so much new and confusing information there. I didn’t know what gulp was or did, so it was hard for me to realise it wasn’t an important part of this myself, and I missed that last line.
Intsructions work better if somebody who doesn’t understand what is happening can just follow them, so I suggest starting with the absolute minimum - don’t even mention gulp - it is entirely irrelevant to getting a website working with the mock browser. You can always add a subsequent section about gulp or anything else so people can come back to it once the basics are working.
So for example:
Developing a SAFE website
When you create a website it will need at least one file, which must be called index.html. There may be other files, but just index.html containing very simple HTML is enough to get you started. For an example, see What is index.html and how can I make a simple safe:// website
Create your website and put the files and folders all in one place, under folder just for that website:
- make a folder for your website, for example
- put your website files in that folder (including at least index.html)
- if your website uses other HTML files, scripts, images, CSS files and so on they should go in there too or in subfolders of
To visit the website in SAFE Browser (mock build) you will need start a local web server:
install a web server on your machine. For example on Linux using node package manager type:
npm install -g ws
start your web server telling the location of your website folder. For example, again on Linux type:
ws -d ./mysite
start the SAFE Browser (mock build) and visit the URL of the web server - but using this format
localhost://p:8000 (i.e. typing that into the address bar).
Your website should now be displayed inside SAFE Browser and work as normal.