sanity-io / sanity-template-astro-clean

Clean starter template with Astro
https://template-astro-clean.sanity.build/
119 stars 40 forks source link

README: Rename the variables in the .env file #27

Closed kerns closed 5 months ago

kerns commented 1 year ago

Screenshot 2023-09-22 at 09 44 02

I am not sure the above instructions align with vars set in the .env file after running npx sanity@latest init --env.

When I run this my .env ends up with...

PUBLIC_SANITY_PROJECT_ID="xxxxxxxx" PUBLIC_SANITY_DATASET="production"

Question or issue is with the lack of _STUDIO_ as part of this variable. Might not be important, or might be something I've misunderstood, just seemed odd.

christianhg commented 5 months ago

Hi! I've now removed this bit from the README since it's unneeded. The CLI seems to create env vars with correct names, so no need to rename them: https://github.com/sanity-io/sanity-template-astro-clean/pull/47