Hi Steve,
Thanks for importing it! I was just about to ask...
An alternative to hosting a web server with a docker image is to use Github Pages. The site is essentially static, and shouldn't need us to maintain a web server. This would remove any dependence on CCT infrastructure apart from the domain name,
and remove any associated maintenance.
I've made a proof-of-principle attempt at this.
- Wrote a script to convert the PHP files to markdown; could have kept HTML but I prefer markdown as it enforces separation of the content from the presentation and is easier to edit
- Ran the script on the current PHP files
- Converted the site to use jekyll for the headers, footers, includes, etc
- To fix this, rather than editing all the URLs in the site, I've instead pointed my own domain to it.
You can see the result at
http://cactuscode.ianhinder.net (https will start working in up to 24 hours, apparently). If we want to go ahead with this method, and if you have access to the
cactuscode.org domain, maybe you could create a CNAME record pointing
so we don't have to use my domain?
The automated conversion from PHP to markdown wasn't perfect; we will need to tidy it up a bit. But the idea now is that you can edit the markdown files, push to the repository, and they will automatically appear on the site. You can also preview
it locally,
If this sounds like a good way to go forward, we can start working through the files and fixing up the php to markdown conversion, deleting old content, etc.
--
Ian Hinder
Research Software Engineer
University of Manchester, UK