Files
newproject/README.md
T

827 B

newproject

One command that composes a project from the templates in this organization: infra at the root, then backend-python, frontend-svelte and caddy on top, each with its own answers file.

newproject ~/projects/my-thing

Templates are cloned from https://git.kotikot.com/templates by default; set TEMPLATES_DIR to a directory with local checkouts to work on the templates themselves. Every part updates independently:

copier update -a .copier-answers.backend.yml

Shapes it produces:

  • infrastructure only: root docker-compose.yml, Makefile, .env, optional caddy/
  • backend with one or many services, each python -m <module> from one image
  • backend and frontend as separate containers behind Caddy
  • backend serving the frontend's static build from the api
  • frontend only