Create your first Plone project#
This tutorial walks you through generating a new Plone project with Cookieplone. By the end, you will have a fully configured project directory ready for development.
Prerequisites:
uv installed on your machine. Install it with:
curl -LsSf https://astral.sh/uv/install.sh | shAn internet connection—Cookieplone downloads the template repository from GitHub.
Step 2: Choose a template#
You see a menu of available templates, for example:
? Select a template:
A Plone Project
A Plone Backend Add-on
A Plone Frontend Add-on
Use the arrow keys to highlight A Plone Project and press Enter.
Step 3: Answer the questions#
Cookieplone prompts you for project-specific values. Each prompt shows the field name, a description, and the current default in brackets. Press Enter to accept a default, or type a new value.
Common prompts include:
Prompt |
Example value |
|---|---|
Project title |
|
Author name |
|
Author email |
|
Plone version |
|
Python package name |
|
Note
Cookieplone validates your answers as you type. If you enter an invalid value—for example, a package name with spaces—the prompt stays open until you provide a valid one.
Step 4: Explore the generated output#
When all prompts are answered, Cookieplone generates the project in a new directory named after your package. The output looks similar to:
backend/
src/
my_plone_site/
__init__.py
configure.zcml
...
setup.cfg
...
devops/
...
frontend/
packages/
...
Makefile
README.md
Step 5: Verify your setup#
Change into the generated directory and inspect the README.md:
cd my-plone-site
cat README.md
The README.md contains the next steps for your specific project, including how to install dependencies and start the development server.
What's next?#
Use an answers file: save your answers and reuse them later.
Update an existing project: regenerate after a template update.
CLI reference: all Cookieplone command-line options.