Componentes base do PortalBrasil.
Ensure you have the following installed:
- UV 🐍
- Node 22 🟩
- pnpm 🧶
- Docker 🐳
- Clone the repository:
git clone git@github.com:portal-br/core.git
cd core- Install both Backend and Frontend:
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- In a new terminal, start the Frontend at http://localhost:3000/:
make frontend-startVoila! Your Plone site should be live and kicking! 🎉
This monorepo consists of three distinct sections: backend and frontend.
- backend: Houses the API and Plone installation, utilizing pip instead of buildout, and includes a policy package named portalbrasil.core.
- frontend: Contains the React (Volto) package.
It is possible to only run format:
make formator lint:
make lintLinters can be run individually within the backend or frontend folders.
Generate translation files for Plone and Volto with ease:
make i18nGenerated using Cookieplone (0.8.4) and cookieplone-templates (86480b4) on 2025-03-23 14:53:53.605935. A special thanks to all contributors and supporters!