Skip to content

chore: add .env.tmpl to generated app templates#201

Open
pkosiec wants to merge 3 commits intomainfrom
pawel-kosiec_data/silicon-scarecrow
Open

chore: add .env.tmpl to generated app templates#201
pkosiec wants to merge 3 commits intomainfrom
pawel-kosiec_data/silicon-scarecrow

Conversation

@pkosiec
Copy link
Member

@pkosiec pkosiec commented Mar 23, 2026

Summary

  • Copy .env.tmpl and .env.example.tmpl into each generated app template so databricks apps init renders .env for end users
  • Add user-facing template documentation (docs/docs/development/templates.md) covering .tmpl files, template variables, appkit.plugins.json, resource field properties, and resolvers
  • Update CONTRIBUTING.md with cleaner generation docs

Related PR: databricks/app-templates#168

Demo

Screen.Recording.2026-03-23.at.12.24.38.mov

Test plan

  • Run pnpm generate:app-templates and verify each output has .env.tmpl and .env.example.tmpl
  • Run databricks apps init --template <generated-template> and confirm .env is created with correct variables
  • Preview docs with cd docs && npm run build

pkosiec added 3 commits March 23, 2026 11:37
… system

Copy .env.tmpl and .env.example.tmpl into each generated app template so
that `databricks apps init` can render .env for end users. Add user-facing
template documentation and update CONTRIBUTING.md.

Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
Add an explanatory comment to .env.tmpl in generated templates and
stop copying .env.example.tmpl as it's not needed.

Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
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