gatsby-wordpress-site

This site is showing you how to use gatsby to pull data in from a headless CMS (Wordpress) using wp API.

#Steps for setting this up

  1. Created a wordpress.org site
  2. Set up gatsby site get the gatsby-source-wordpress plugin

#Steps for setting up web server

  1. Install LAMP/LEMP stack https://linuxconfig.org/how-to-setup-lemp-stack-on-debian-9-stretch-linux https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mariadb-php-lamp-stack-debian9 https://linuxhostsupport.com/blog/how-to-install-wordpress-with-php-7-1-and-nginx-on-a-debian-9-vps/ 2)Get an SSL https://medium.com/@kwa29/how-to-secure-nginx-with-lets-encrypt-on-debian-strech-6ff2e1008c55 3)Set up phpmyadmin https://www.rosehosting.com/blog/how-to-install-phpmyadmin-on-debian/

#To Do

  1. Redirect all /wp* to wordpress rest to gatsby