- Install everything
- Node
- node modules
- Run dev server with
node run develop
- View site at http://localhost:8000
- View graphql browser at http://localhost:8000/___graphql
You can set up remote debugging by setting the config to run in the "javascript debugging" intellij function: file://path/to/tobydevlin.com-2.0/src <-> top/localhost:8000/path/to/tobydevlin.com-2.0/src.
In VS Code you can set up debugging by running the Launch localhost
debug and having remote devtools enabled in firefox
- update the
media_folder
setting in static/admin/config.yml - update this in the
'gatsby-source-filesystem'
-'images'
plugin so gatsby looks in the right place in gatsby-config.js - update the gatsby-node.js replace path so its still relative