Scaffolding Reference¶
Guidance for generating and updating projects with the Vibetuner Copier template.
Overview¶
vibetuner scaffold wraps Copier to generate a
fully configured project from the files in vibetuner-template/. Answers to the
prompts below are stored in .copier-answers.yml inside the generated project,
so subsequent updates can reuse them.
Template Prompts¶
company_name– defaultAcme Corp. Displayed in generated metadata, email templates, and documentation.author_name– defaultDeveloper. Used for attribution in project metadata.author_email– default[email protected]. Included in scaffolded docs and config.project_name– default_folder_name. Human-friendly name used throughout the README and docs.project_slug– default_folder_name. Must match^[a-z][a-z0-9\-]*[a-z0-9]$(used for Python package name, Docker image, compose project name).project_description– defaultA project that does something useful.
Populates package metadata.
fqdn– default empty. When set, enables production deployment extras (Caddy,
Watchtower, etc.).
python_version– default3.13. Controls.python-version, Docker images, anduvsettings.supported_languages– default[]. JSON/YAML list of language codes (for example["es", "fr"]), adds translation skeletons.redis_url– default empty. Used when background jobs are enabled.mongodb_url– default empty. MongoDB connection string written to.env.local.database_url– default empty. SQL database connection string (PostgreSQL, MySQL, MariaDB, SQLite) written to.env.local.enable_watchtower– defaultfalse. Only prompted whenfqdnis set; adds Watchtower service to production Docker Compose.
Supplying Values Non-Interactively¶
--defaultsanswers all prompts with defaults.--data key=valueoverrides individual answers (repeat the flag for multiple overrides).--templatelets you point at a different Copier template source (local path, git URL, orgithub:user/repo).
Post-Generation Tasks¶
After vibetuner scaffold new, Copier executes the commands listed in copier.yml:
just git-init {{ project_slug }}– initializes a git repository and tagsv0.0.1.uv sync– installs Python dependencies defined by the scaffold.mise trust– trusts the generated.mise.toml(optional tooling setup). *uv run prek install– installs the repository’s pre-commit (prek) hooks.* See the mise documentation for details; no additional action is required if you skip mise.
Updating Existing Projects¶
There are two supported update flows:
vibetuner scaffold update(works everywhere)- Reads
.copier-answers.ymland reapplies the latest template files. - Respects previous answers by default; pass
--no-skip-answeredto revisit prompts. - Runs the same post-generation tasks after updating files.
just update-scaffolding(inside generated projects)-
Shells out to
copier update -A --trust, then re-syncs dependencies (bun install,uv sync --all-extras). -
Useful when you already have the project checked out with the scaffolded
justfile.
Both commands update tracked files. Always commit or stash local changes before running them, review the results, and resolve any merge prompts Copier surfaces.
Recommended Workflow¶
- Commit your working tree.
- Run either
vibetuner scaffold updateorjust update-scaffolding. - Re-run tests (
just test-build-prod,just dev) to confirm nothing broke. - Commit the changes produced by the update.
Refer back to this document whenever you need to adjust template answers, automate non-interactive scaffolding, or keep existing projects in sync with the latest Vibetuner release.