You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feedback about cookie cutter init
isn't specifying 9 things to initialize a project too much?
There should be a way to skip this.
Use defaults and edit later
I noticed the --no-input parameter but still 9 things to start is not a good thing. I suggest that we think of a different scenario for the init (blogs and collections removed from init)
I don’t think we can skip all of them (also if you just press enter it will go with the defaults).
I do agree that we can reduce the amount of options. Here are some suggestions.
I would love John’s opinion on the following compromise.
"SITE_URL": "http://example.com",
"author_name": "Your Name",
"author_email": "me@{{cookiecutter.SITE_URL}}",
"output_path": "output",
"app_filename": "app.py",
"SITE_TITLE": "Untitled Site",
"project_slug": "{{cookiecutter.SITE_TITLE | slugify}}",
"skip_collection": false,
"skip_blog": false,
We could hide all these except for SITE_URL and SITE_TITLE I don't think you can hide project_slug as it's a requirement for cookiecutter.
Potential New Issues to Create
Mark app_filename, output_path, skip_collection, and skip_blog as optional.
Remove author_name/author_email completely from template as they are not needed.
The text was updated successfully, but these errors were encountered:
Each element that can be created via the render engine will be initialized using one command - No need for me to edit something or remove unnecessary parts of the code.. etc
Via John in Render-Engine Discord:
I don’t think we can skip all of them (also if you just press enter it will go with the defaults).
I do agree that we can reduce the amount of options. Here are some suggestions.
I would love John’s opinion on the following compromise.
Here are the ones that are currently prompted (via - https://github.com/render-engine/cookiecutter-render-engine-site/blob/main/cookiecutter.json)
"SITE_URL": "http://example.com",
"author_name": "Your Name",
"author_email": "me@{{cookiecutter.SITE_URL}}",
"output_path": "output",
"app_filename": "app.py",
"SITE_TITLE": "Untitled Site",
"project_slug": "{{cookiecutter.SITE_TITLE | slugify}}",
"skip_collection": false,
"skip_blog": false,
We could hide all these except for SITE_URL and SITE_TITLE I don't think you can hide project_slug as it's a requirement for cookiecutter.
Potential New Issues to Create
app_filename
,output_path
,skip_collection
, andskip_blog
as optional.The text was updated successfully, but these errors were encountered: