Anyway, after much wailing and gnashing of teeth, I’ve managed to setup Isso commenting on my server and import my old Disqus comments. So, now that it’s all working , it’s time to start ‘prettying’ it up a bit.
Trouble is, to do this on my local machine, I need to proxy requests to http://localhost.com:1313/isso to the Isso Python script and I can’t work out how to do this.
The most straightforward option would seem to be to configure Hugo’s built-in server to do the proxying. But I’m not even sure if this is possible?
An alternative would be to run a local webserver on my dev machine, that I could then setup proxying on and have Hugo use that instead of its built-in server, to render the site. But, I’m not sure if this is possible either?
A third alternative would be just to; keep re-building the site locally, every so often, quit Hugo’s built-in server and then preview the site using another locally running server with proxying support. But this is going to be a bit of a PITA, especially as I’m just doing HTML/CSS stuff to design the layout of the comments section, so it’s going to be a lot of stop/start incremental changes.
It would be great if I could somehow find a way to avail of Hugo server’s
--watch feature to reflect these changes instantly, while at the same time, being able to proxy the Isso requests.
Anyone got any ideas on this?