From 45368fb9c5217ac7db2e814d75a29fc365bc8b1a Mon Sep 17 00:00:00 2001 From: nxtkofi Date: Tue, 21 Apr 2026 21:09:40 +0200 Subject: [PATCH] chore(env): update .env.example and allow it in gitignore Add NEXT_PUBLIC_CONVEX_URL and NEXT_PUBLIC_CONVEX_SITE_URL to .env.example. Add !.env.example exception to .gitignore so template env file is tracked. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .env.example | 5 +++++ .gitignore | 1 + 2 files changed, 6 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..94dc7fc --- /dev/null +++ b/.env.example @@ -0,0 +1,5 @@ +CONVEX_SELF_HOSTED_URL='https://your-convex-backend.example.com' +CONVEX_SELF_HOSTED_ADMIN_KEY='self-hosted-convex|YOUR_ADMIN_KEY' +NEXT_PUBLIC_SITE_URL=http://localhost:3000 +NEXT_PUBLIC_CONVEX_URL=https://your-convex-backend.example.com +NEXT_PUBLIC_CONVEX_SITE_URL=https://your-convex-site.example.com diff --git a/.gitignore b/.gitignore index 5ef6a52..7b8da95 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ yarn-error.log* # env files (can opt-in for committing if needed) .env* +!.env.example # vercel .vercel