A new project using Plone 6.
Ensure you have the following installed:
- Python 3.11 🐍
- Docker 🐳
- Clone the repository:
git clone [email protected]:starzel/project-title.git
cd project-title
- Install Backend:
make install
- Create a new Plone site on your first run:
make backend-create-site
- Start the Backend at http://localhost:8080/:
make backend-start
Voila! Your Plone site should be live and kicking! 🎉
Deploy a local Docker Compose
environment that includes:
- Docker image for Backend 🖼️
- A stack with a Traefik router and a Postgres database 🗃️
- Accessible at http://project-title.localhost 🌐
Execute the following:
make stack-start
make stack-create-site
And... you're all set! Your Plone site is up and running locally! 🚀
This monorepo consists of two distinct sections: backend
and devops
.
- backend: Houses Plone installation, utilizing pip instead of buildout, and includes a policy package named project.title.
- devops: Encompasses Docker Stack, Ansible playbooks, and Cache settings.
- All necessary codebases to run the site are contained within the repo (excluding existing addons for Plone).
- Specific GitHub Workflows are triggered based on changes in each codebase (refer to .github/workflows).
- Simplifies the creation of Docker images for each codebase.
- Demonstrates Plone installation/setup without buildout.
To automatically format your code and ensure it adheres to quality standards, execute:
make check
Linters can be run within the backend
folder.
Generate translation files for Plone with ease:
make i18n
Generated using Cookieplone (0.8.3) and cookiecutter-plone (0013aea) on 2025-02-14 14:34:53.158773. A special thanks to all contributors and supporters!