1. https://snapcraft.io/node
  2. https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
  3. https://snapcraft.io/code + telemetry off – note to run this you may need to enter on the bash command line to prevent some annoying keyboard shortcut problem GTK_IM_MODULE="xim" code
    3.1 https://www.gatsbyjs.com/tutorial/part-zero/ (Prettier plugin for vscode)
    3.2 https://stackoverflow.com/a/50892839 don’t forget the vscode-vim extension and this fix for code folds
    3.3 https://github.com/VSCodeVim/Vim#-faq even more tips here (shift-esc to escape intellisense without entering normal mode, etcetera)

https://www.gatsbyjs.com/docs/quick-start/

  1. npm install -g gatsby-cli + telemetry off
  2. gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-hello-world

https://www.gatsbyjs.com/docs/end-to-end-testing/

  1. cd gatsby-site
  2. npm install --save-dev cypress start-server-and-test
  3. vim cypress.json [new file]
    {
      "baseUrl": "http://localhost:8000/"
    }
    
  4. vim package.json, add the lines cy:open… and test:e2e… example shown below
    {
      `"scripts": {`
     "develop": "gatsby develop",
     "cy:open": "cypress open",
     "test:e2e": "start-server-and-test develop http://localhost:8000 cy:open"
      }
    }
    
  5. npm run test:e2e