Read more on https://notes.atinux.com
Make sure to install the dependencies:
# pnpm
pnpm installStart the development server on http://localhost:3000
pnpm run devCopy the .env.example to .env and update the variables to your own.
Build the application for production:
pnpm run buildLocally preview production build:
pnpm run previewCheck out the deployment documentation for more information.
Add the following environement variables:
ADMIN_PASSWORD=<your-password>
NUXT_SESSION_PASSWORD=<a-32-characters-long-password>
Next, make sure to add your KV namespace to the wrangler.jsonc file.
Once saved, the deployment will be updated with the new environment variables.
That's all ✨
MIT - Sébastien Chopin