aigovernancereview.com is a Gatsby.js static generated site hosted with Github Pages
Prerequisites:
yarn
to install dependenciesyarn start
to spin up the development site and start workingNote: because this is on an older version of Gatsby.js, the node-sass
package only works on older versions of node.js. The working version I use is v14.17.4
.
All dev work should be done on feature branches off the development
branch. The master
branch is solely reserved for build files in production. As this is quite a simple site, working directly on the development
branch is fine too.
When you're ready to deploy to Github Pages, checkout to the state you'd like to deploy. I usually merge back to development
and tag the version I wish to deploy.
yarn deploy
, which will run Gatsby.js to build the production assets and deploy to the master
branch.www.aigovernancereview.com
domainStep 2 is a problem I've yet to find the time to fix. I think it's due to the CNAME
file not being stored on the root folder?
node-sass
doesn't work on newer versions of node.jsThis site is maintained by Oly Su.