From 62949107273f3ac8c1cf46eb7c61b3c9eb79e75c Mon Sep 17 00:00:00 2001 From: Stevan Freeborn Date: Sat, 15 Aug 2026 22:07:23 -0500 Subject: [PATCH] chore: add .env.example and ignore generated editor config Commit the .env.example template and exempt it from the .env ignore rule. Ignore the .sqls.yml file that sqlc generate emits for editor tooling. --- .env.example | 4 ++++ .gitignore | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..9415d92 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +DB_URL=postgres://postgres:postgres@localhost:5432/chirpy?sslmode=disable +PLATFORM=dev +JWT_SECRET=replace-with-a-long-random-secret +POLKA_KEY=replace-with-your-polka-api-key diff --git a/.gitignore b/.gitignore index 9a71d42..882aeb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ bin/ *.env* +!.env.example +.sqls.yml