Skip to content

Commit

Permalink
Use gh:plone/cookieplone-templates as the default repository for temp…
Browse files Browse the repository at this point in the history
…lates (Fixes #13)
  • Loading branch information
ericof committed May 7, 2024
1 parent 4b3d40c commit a26b560
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ You can also specify other templates.

| Template | Description | Command |
| --- | --- | --- |
| **project** | Create a Plone project with Backend and frontend. | `pipx run cookieplone project ` |
| **plone_addon** | Create a Plone add-on to be used with the backend. | `pipx run cookieplone plone_addon ` |
| **volto_addon** | Create a Plone add-on to be used with the frontend. | `pipx run cookieplone volto_addon ` |
| **backend_addon** | Create a Plone add-on to be used with the backend. | `pipx run cookieplone backend_addon ` |
| **frontend_addon** | Create a Plone add-on to be used with the frontend. | `pipx run cookieplone frontend_addon ` |

The updated list of templates can be found at the [cookieplone-templates](https://github.com/plone/cookieplone-templates) repository.

### Configure Cookieplone

Expand Down
2 changes: 1 addition & 1 deletion cookieplone/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def cli(
raise typer.Exit()
repository = os.environ.get(settings.REPO_LOCATION)
if not repository:
repository = "gh:plone/cookiecutter-plone"
repository = "gh:plone/cookieplone-templates"

repo_path = get_base_repository(repository)
if not template:
Expand Down
1 change: 1 addition & 0 deletions news/13.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use `gh:plone/cookieplone-templates` as the default repository [@ericof]

0 comments on commit a26b560

Please sign in to comment.