Skip to content

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

Merged
pkosiec merged 3 commits intomainfrom
pawel-kosiec_data/silicon-scarecrow
Mar 26, 2026
Merged

chore: add .env.tmpl to generated app templates#201
pkosiec merged 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 26, 2026 17:43
… 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 <[email protected]>
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 <[email protected]>
@pkosiec pkosiec force-pushed the pawel-kosiec_data/silicon-scarecrow branch from 3d9dfb1 to e87c082 Compare March 26, 2026 16:44
@pkosiec pkosiec merged commit 9ae5e76 into main Mar 26, 2026
8 checks passed
@pkosiec pkosiec deleted the pawel-kosiec_data/silicon-scarecrow branch March 26, 2026 16:49
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.

2 participants