Skip to content

Instantly share code, notes, and snippets.

@robdecker
Last active March 31, 2020 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robdecker/097dc6d89958d7ed798e0078fb43095e to your computer and use it in GitHub Desktop.
Save robdecker/097dc6d89958d7ed798e0078fb43095e to your computer and use it in GitHub Desktop.
[Drupal + Gatsby] #d8 #gatsby #react

Using Drupal in Lando

  • start lando/drupal
  • get the port http://localhost:PORT
  • start ngrok
    • ngrok http http://localhost:PORT
  • get the ngrok forwarding URL
    • ex. http://afe23ec6.ngrok.io
  • put the forwarding URL in gatsby-config.js or .env.development
  • start gatsby
    • npm run dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment