The-Balance-FFXIV / glam

A hugo theme for the balance
Other
5 stars 24 forks source link

Document how to get local netlify to work #297

Closed furstblumier closed 2 years ago

furstblumier commented 2 years ago

Currently it's completely unclear how to get netlify to work in a local dev env and we need to fix that

hintxiv commented 2 years ago

Fixing this through environment variables and/or a separate yarn script would be ideal if possible.

nonowazu commented 2 years ago

The way I've been solving it is this way:

  1. Inside the repo, run yarn start:static
  2. cd into exampleSite and run ../node_modules/.bin/netlify-cms-proxy-server

It's not ideal, but it works completely for dev.