Skip to content

chore: add .env.example template for service install#44

Merged
unohee merged 1 commit into
mainfrom
hotfix/add-env-example
Apr 20, 2026
Merged

chore: add .env.example template for service install#44
unohee merged 1 commit into
mainfrom
hotfix/add-env-example

Conversation

@unohee

@unohee unohee commented Apr 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the missing .env.example file at the repo root with placeholder values for every env var referenced from src/ (Discord, Linear, optional NPM/OpenAI/task-state).
  • Unblocks npm run service:install, which already instructs users to run cp .env.example .env before install.

Why

scripts/install-service.sh exits with Error: .env file not found. and suggests cp .env.example .env, but the template had never been committed. New users hit the dead end reported in #42.

Safety

  • Only placeholder values are included. Real .env is still ignored by .gitignore:28 (.env rule unchanged).
  • No runtime code touched.

Test plan

  • .env.example is tracked while .env remains ignored (git check-ignore verified).
  • On a fresh clone: cp .env.example .env → edit real tokens → npm run service:install proceeds past the config check.

Closes #42

Closes #42

The install-service.sh script instructs users to run
`cp .env.example .env`, but the template file had never been
committed. Add it with placeholder values so `npm run service:install`
works out of the box. Real secrets remain ignored via the existing
`.env` rule in .gitignore.
@unohee unohee self-assigned this Apr 20, 2026
@unohee unohee merged commit 5265c33 into main Apr 20, 2026
9 checks passed
@unohee unohee deleted the hotfix/add-env-example branch April 20, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

During the installation process, the .env.example file is missing.

1 participant