Skip to content

docs: fix service name, version pin, sqlite and user in the scaffolding guide - #165

Draft
ivargr wants to merge 1 commit into
mainfrom
docs/cli-scaffolding-fixes
Draft

ivargr wants to merge 1 commit into
mainfrom
docs/cli-scaffolding-fixes

Conversation

@ivargr

@ivargr ivargr commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Four corrections to docs/guides/cli-scaffolding.md:

  • The Docker data commands used the compose service my-service. chapkit init turns hyphens into underscores, so the service is my_service.
  • The version-pin commands contained the literal text [email protected]. They now say chapkit@<version>.
  • The docker compose exec ... sqlite3 example cannot work because the image has no sqlite3 CLI. It now opens the copied database on the host.
  • The bind-mount section said the container runs as root. The scaffolded image and compose file run as the chapkit user (uid/gid 1000), so the mounted directory must be writable by that uid.

Review needed: check: the bind-mount wording and the chown example

Test plan

Checked against src/chapkit/cli/init.py, the compose.yml and Dockerfile templates and the chapkit-images Dockerfiles. The commands were not run.

@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
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.

1 participant