Welcome to your deco.cx site!
1 - Install deno
2 - Create the local environment file
cp .env.example .env3 - Run the command
deno task startThis will install all dependencies and start your project.
Access http://localhost:8000 to see your site.
The storefront reads the Payload origin only on the server through Deno.env.
The value must contain only the HTTPS origin, without /api or a trailing path:
PAYLOAD_API_URL=https://esmeracms-green.vercel.appLocal .env files are ignored by Git. The public fallback remains available in
lib/payload/client.ts, but the same variable must also be registered in the
Production environment of the Deco Admin and followed by a publish/redeploy.
Do not add database credentials, Payload admin credentials, storage keys, or any
other CMS secret to this frontend.
Keep your dependencies updated by running:
deno task updateWe are working on the instructions, for now feel free to contribute to this project.
Take a look on this ones: