CMCuritiba / extranet-cmc

Extranet da CΓ’mara Municipal de Curitiba baseado em Plone 6 - Volto.
GNU General Public License v3.0
2 stars 1 forks source link

Extranet CMCuritiba πŸš€

Built with Cookiecutter Plone Starter Black code style Backend Tests Frontend Tests

Extranet da CΓ’mara Municipal de Curitiba baseado em Plone 6 - Volto.

Quick Start 🏁

Prerequisites βœ…

Ensure you have the following installed:

Installation πŸ”§

  1. Clone the repository:
git clone git@github.com:cmcuritiba/extranet-cmc.git
cd extranet-cmc
  1. Install both Backend and Frontend:
make install

Fire Up the Servers πŸ”₯

  1. Create a new Plone site on your first run:
make create-site
  1. Start the Backend at http://localhost:8080/:
make start-backend
  1. In a new terminal, start the Frontend at http://localhost:3000/:
make start-frontend

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.

Why This Structure? πŸ€”

Code Quality Assurance 🧐

To automatically format your code and ensure it adheres to quality standards, execute:

make format

Linters can be run individually within the backend or frontend folders.

Internationalization 🌐

Generate translation files for Plone and Volto with ease:

make i18n

Docs maintenance.

The documentation source is under the docs dir, we have some commands to help building the docs.

Docs help message

make docs-help

remove all build, test, coverage and Python artifacts

make docs-clean

Install sphinx requirements.

make docs-setup

Build html

make docs-html

Rebuild Sphinx documentation on changes, with live-reload in the browser

make docs-livehtml

Run linkcheck

make docs-linkcheck

Run linkcheck and show only broken links

make docs-linkcheckbroken

Install (once) and run Vale style, grammar, and spell checks

make docs-vale

Clean docs build, then run linkcheckbroken, vale

make docs-test

Credits and Acknowledgements πŸ™

Crafted with care by This was generated by cookiecutter-plone-starter on 2023-12-11 17:28:09. A special thanks to all contributors and supporters!