Commit graph

5 commits

Author SHA1 Message Date
ZTatman
cd216cd660 refactor(cli): simplify base url validation/normalization, update readme
and docs to reflect possible deployment configurations
2026-04-17 12:40:58 -04:00
ZTatman
b87c4554fb refactor(cli): specify that forgejo base url should point to internal
forgejo address in container
2026-04-16 13:02:01 -04:00
ZTatman
4ceb1ff223 chore(cli): fix some formatting 2026-04-15 22:20:07 -04:00
ZTatman
29cd2f046d simplify: reduce CLI config to just Forgejo URL and PAT
Removes unnecessary configuration that operators dont need to provide:
- Removed MYST_PUBLIC_URL, MYST_ADMIN_URL (users buy their own domains)
- Removed FORGEJO_BOT_USERNAME (API returns username)
- Removed DATABASE_URL (Docker Compose handles it)
- Removed GRANT_TOKEN_SECRET (auto-generated on startup)

Simplifies init to just 2 prompts:
- Forgejo base URL
- Forgejo PAT

Adds Docker Compose example with PostgreSQL.

Verify now shows:
- FORGEJO_BASE_URL configured
- FORGEJO_PAT configured
- Forgejo is reachable
- Forgejo User <username> has <n> repositories
2026-04-15 20:53:58 -04:00
39fadc8048
refactor(cli): restructure CLI with new command router and merge verify/doctor (#7) 2026-04-13 14:29:29 -04:00