Running on Gatsby and a Headless WordPress Install
Hey all, back this week, I wanted to give a quick update today and will follow up next time with a bit more of an in-depth post on this. However, the new site is up and running, using Gatsby/React and a cool template I found based on the WordPress Tabor theme and what is called a headless WordPress site!
Fun stuff, getting a new environment setup as well as learning the basics of React. I was going to use Netlify, however, went back on that and am using a small Ubuntu server on DigitalOcean, where I have hosted my blog from the beginning. I went with using Nginx as my server for the static site, as I am somewhat familiar with this as well as using Gitlab for my CI/CD pipeline, to build and deploy the site when I make updates. Remember that Gitlab will allow you up to I believe 1000 deployments/build a month for free (not sure how accurate that number is 😉 ). I may be used 10 deployments trying to figure out the necessary build process? Maybe a couple more than that, but anyway it was a fun setup. I did have a couple of issues with DNS and setting up and reconfiguring my WordPress site, as well as a bit of a learning curve with GraphQL, but it wasn’t that bad once I got the basics down.
Once I got familiar with GraphQL and the powers it has, and I must say I am impressed. there is a cool plugin I am using for my WordPress install which created the GraphQL API on my WordPress site (API). Anyhow, I am going to cover all of this in more detail on my next post, but this was a fun project and allowed me to get my site off of a WordPress front-end. In the long-run, this will allow me more flexibility with the site, and hopefully, allow some additional goodies.
Until next week!