-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Objective
Create initialization command that copies sample files to create initial configuration.
Prerequisites
Issue #3 completed (samples/ directory exists)
Implementation Steps
See todos/IMPLEMENTATION.md lines 820-957.
Key Steps:
- Create
commands/__init__.pyif needed - Create
commands/init.pywith copy logic:- Check if already initialized
- Check submodules exist
- Copy samples/env → .env
- Copy samples/traefik.yml → projects/traefik.yml
- Copy samples/secrets/global.txt → secrets/global.txt
- Show helpful next steps
- Update
itsupmain CLI to register command
Success Criteria
-
itsup initcreates .env -
itsup initcreates projects/traefik.yml -
itsup initcreates secrets/global.txt - Shows helpful next steps
- Detects if already initialized
Estimated Time
2 hours
Metadata
Metadata
Assignees
Labels
No labels