kitconcept Intranet ๐
A Plone distribution for Intranets with Plone. Created by kitconcept.
Quick Start ๐
Prerequisites โ
Ensure you have the following installed:
- Python 3.11 ๐
- Node 20 ๐ฉ
- pnpm ๐งถ
- Docker ๐ณ
Installation ๐ง
- Clone the repository:
git clone git@github.com:kitconcept/kitconcept.intranet.git
cd kitconcept.intranet
- Install both Backend and Frontend:
make install
Fire Up the Servers ๐ฅ
- Create a new Plone site on your first run:
make backend-create-site
- Start the Backend at http://localhost:8080/:
make backend-start
- In a new terminal, start the Frontend at http://localhost:3000/:
make frontend-start
Voila! Your Plone site should be live and kicking! ๐
Local Stack Deployment ๐ฆ
Deploy a local Docker Compose
environment that includes:
Execute the following:
make stack-start
make stack-create-site
And... you're all set! Your Plone site is up and running locally! ๐
Project Structure ๐๏ธ
This monorepo consists of three distinct sections: backend
, frontend
, and devops
.
- backend: Houses the API and Plone installation, utilizing pip instead of buildout, and includes a policy package named kitconcept.intranet.
- frontend: Contains the React (Volto) package.
- devops: Encompasses Docker Stack, Ansible playbooks, and Cache settings.
Why This Structure? ๐ค
- All necessary codebases to run the site are contained within the repo (excluding existing addons for Plone and React).
- 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.
Code Quality Assurance ๐ง
To automatically format your code and ensure it adheres to quality standards, execute:
make check
Linters can be run individually within the backend
or frontend
folders.
Internationalization ๐
Generate translation files for Plone and Volto with ease:
make i18n
Credits and Acknowledgements ๐
Crafted with care by Generated using Cookieplone (0.7.0) and cookiecutter-plone (9937161) on 2024-05-28 19:04:49.900739. A special thanks to all contributors and supporters!