This article is mainly my personal notes for GatsbyJS and the lumen starter.
A static site generator for ReactJS
A minimal, lightweight and mobile-first starter for creating blogs using Gatsby.
Install node https://nodejs.org/en/download/
Install gatsby
npm install -g gatsby-cliUse the Gatsby CLI to create a new site, specifying the Lumen starter.
gatsby new blog https://github.com/alxshelepenok/gatsby-starter-lumenNavigate into your new site’s directory and start it up.
cd blog
npm install
npm run startYour site is now running at http://localhost:8000!
There are a bunch of files and folders in the /blog/ folder that are needed to build the site, to actually edit the blog to your own content there are a small number of folders and files you actually have to edit.
/content/pages holds the about and contact pages, and any other pages you might want to add.
/Content/posts holds the blog posts
/config.json holds the meta data for the site and social media accounts
(.md) files and save and the localhost:8000 page in your browser will auto-load your changes.npm run start command (usually ctrl+c in your terminal) and run it again./public folder this is the folder to upload to github pages.