Skip to content

The mirror for my website code on gitlab.

License

Notifications You must be signed in to change notification settings

GitToby/tobydevlin.com-2.0

Repository files navigation

The second iteration of Tobydevlin.com

Netlify Status

dev setup

  1. Install everything
  • Node
  • node modules
  1. Run dev server with node run develop
  2. View site at http://localhost:8000
  3. 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

change image upload locations:

  • 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