Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom templates in wagtail start command #10423

Closed
thibaudcolas opened this issue May 10, 2023 · 1 comment · Fixed by #10566
Closed

Support for custom templates in wagtail start command #10423

thibaudcolas opened this issue May 10, 2023 · 1 comment · Fixed by #10566
Labels
Sustainability Things relating to UN sustainable development goals, in particular climate action type:Enhancement
Milestone

Comments

@thibaudcolas
Copy link
Member

thibaudcolas commented May 10, 2023

Previously discussed in A command line Blog generator OR UI based predefined templates to select. #10221 (and elsewhere I’m sure). And on today’s core team meeting.

Extend the wagtail start command to support providing a template, like the underlying django startproject already supports (link to our implementation). This would then allow us to provide website templates in a more Wagtail-branded-y way, compared to cookiecutter and other project scaffolding / boilerplate tools.

We’re very keen to make use of this as part of an upcoming Google Summer of Code project where we’d like to help people make low-carbon / "GOLD" websites.


Once this is set up, types of sites we could make templates for:

Site type:

Tech:

  • Bootstrap
  • HTMX
  • Tailwind
@thibaudcolas thibaudcolas added type:Enhancement Sustainability Things relating to UN sustainable development goals, in particular climate action labels May 10, 2023
@thibaudcolas thibaudcolas added this to the 5.1 milestone May 10, 2023
@tomdyson
Copy link
Contributor

e.g. wagtail start my_blog --template https://github.com/tomdyson/wagtail-blog-starter

perhaps starters in the Github Wagtail org could be 'blessed' and not require the full URL?

wagtail start my_blog --template wagtail-blog-starter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sustainability Things relating to UN sustainable development goals, in particular climate action type:Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants