[Feature] Add .env.example, generated config templates, or a config bootstrap command so new installs are configured intentionally instead of only cloned #20

Closed
opened 2026-07-06 11:29:21 +02:00 by zemion · 1 comment
Owner

Imported from the consolidated GovOPlaN product backlog.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md
  • Line: 152
  • Section: Milestones > Milestone 8 - Production-Realistic Dev And Deployment Foundation
  • Source status: OPEN.

Imported backlog item:

- [ ] Add `.env.example`, generated config templates, or a config bootstrap command so new installs are configured intentionally instead of only cloned.
<!-- codex-backlog-fingerprint:ba5deba2c8aed21d7fc37bb6 --> Imported from the consolidated GovOPlaN product backlog. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md` - Line: `152` - Section: `Milestones > Milestone 8 - Production-Realistic Dev And Deployment Foundation` - Source status: `OPEN.` Imported backlog item: ```markdown - [ ] Add `.env.example`, generated config templates, or a config bootstrap command so new installs are configured intentionally instead of only cloned. ```
zemion added this to the Milestone 8 - Production-Realistic Dev And Deployment Foundation milestone 2026-07-06 13:01:55 +02:00
Author
Owner

Implemented config bootstrap support for installability.

Changes:

  • Added checked-in .env.example for self-hosted installs.
  • Added govoplan_core.commands.config env-template / govoplan-config env-template to generate self-hosted or production-like env templates, optionally with a generated MASTER_KEY_B64.
  • Made dev/production-like/.env.example explicit instead of relying only on launcher defaults.
  • Added docs in SELF_HOSTED_INSTALLABILITY.md, DEPLOYMENT_OPERATOR_GUIDE.md, and README.

Verification:

  • python -m govoplan_core.commands.config env-template --profile self-hosted prints the expected template.
  • tests.test_install_config passed.
Implemented config bootstrap support for installability. Changes: - Added checked-in `.env.example` for self-hosted installs. - Added `govoplan_core.commands.config env-template` / `govoplan-config env-template` to generate self-hosted or production-like env templates, optionally with a generated `MASTER_KEY_B64`. - Made `dev/production-like/.env.example` explicit instead of relying only on launcher defaults. - Added docs in `SELF_HOSTED_INSTALLABILITY.md`, `DEPLOYMENT_OPERATOR_GUIDE.md`, and README. Verification: - `python -m govoplan_core.commands.config env-template --profile self-hosted` prints the expected template. - `tests.test_install_config` passed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#20
No description provided.