I followed the onboarding and can run locally with npm run dev but when I build and try to serve it locally I get a config error, which is weird because if there was a config error it wouldn't run on dev would it?
Both the CONTENTFUL_SPACE_ID and the CONTENTFUL_ACCESS_TOKEN are present, I've even added them directly to the Gatsby plugin to make sure it wasn't an .env thing.
I was hoping I could spin up something quickly to demo but it's being a bit tricky trying to figure out why it's not serving locally.
Ultimately I'd like to put this on our own server and build each time the content changes via a web hook.
So, I'm still in the proof of concept stage and not getting very far with this.
Is there something simpler I could use just to prove the concept?
Am I missing something?
The documentation only really covers Heroku and Netlify for some reason.
Hi,
Thanks for the starter!
I followed the onboarding and can run locally with
npm run dev
but when I build and try to serve it locally I get a config error, which is weird because if there was a config error it wouldn't run ondev
would it?Both the
CONTENTFUL_SPACE_ID
and theCONTENTFUL_ACCESS_TOKEN
are present, I've even added them directly to the Gatsby plugin to make sure it wasn't an.env
thing.I was hoping I could spin up something quickly to demo but it's being a bit tricky trying to figure out why it's not serving locally.
Ultimately I'd like to put this on our own server and build each time the content changes via a web hook.
So, I'm still in the proof of concept stage and not getting very far with this.
Is there something simpler I could use just to prove the concept?
Am I missing something?
The documentation only really covers Heroku and Netlify for some reason.
Thanks