Thursday, October 25, 2018

Gatsby 2.0

I'm performing the Gatsby tutorial from egghead.io. Gatsby is a command line tool that can generate a React web site that uses GraphQL.
$ gatsby new my-blog https://github.com/gatsbyjs/gatsby-starter-hello-world
$ cd my-blog
$ yarn
$ open http://localhost:8000/
$ gatsby develop
Note: after the gatsby develop command completes, hit refresh on the open web page to view server output. You will see Hello World! displayed in the browser.
$ npm install --save gatsby-sourcefilesystem@next gatsby-transformer-remark@next
$ touch gatsby-config.js && vi gatsby-config.js
blah... blah... blah...
$ open http://localhost:8000/___graphql
$ gatsby develop
Note: after the gatsby develop command completes, hit refresh on the open web page to view server output.