5 ms·
I highly recommend you check out roots (http://roots.cx/ http://roots.cx/), a static site generator that lets you use a CMS like Wordpress to manage content and
by joshrowley 11y ago
I highly recommend you check out roots (http://roots.cx/ http://roots.cx/), a static site generator that lets you use a CMS like Wordpress to manage content and then pulls data from its API to build a static site.
We've set up a full featured publishing workflow by coupling this with outgoing webhooks on Wordpress using hookpress and a great static hosting platform called Netlify that accepts incoming webhooks to trigger new static builds with roots when content is updated on Wordpress.
So far it's been fantastic for us. We enjoy all the benefits of a static site: low hosting costs, simple infrastructure, highly scalable, and virtually zero downtime, while still giving our users a familiar CMS interface.
We're are using a similar workflow to power our site (http://carrot.is/ http://carrot.is/) but instead of Wordpress we're using Contentful, an API-based CMS with webhook support. Luckily, roots has a very flexible extensions API, so whatever CMS you want to use, as long as it has an API it can be turned into a static site.
Here's an example of how to set this up with Wordpress:
https://github.com/carrot/roots-wordpress-example https://github.com/carrot/roots-wordpress-example
As well as the two CMS extensions we've built so far:
https://github.com/carrot/roots-wordpress https://github.com/carrot/roots-wordpress
https://github.com/carrot/roots-contentful https://github.com/carrot/roots-contentful
We really love it, and are happy to answer any questions from people considering a similar setup or who are interested in learning more about roots.