https://github.com/kitconcept/kitconcept.blog
https://github.com/kitconcept/kitconcept.blog
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kitconcept/kitconcept.blog
- Owner: kitconcept
- Created: 2023-10-27T07:51:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T19:21:53.000Z (over 2 years ago)
- Last Synced: 2025-07-18T08:27:05.815Z (11 months ago)
- Language: Makefile
- Size: 1.71 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# kitconcept.blog ๐
[](https://github.com/collective/cookiecutter-plone-starter/)
[](https://github.com/ambv/black)
[](https://github.com/kitconcept/kitconcept-blog/actions/workflows/backend.yml)
[](https://github.com/kitconcept/kitconcept-blog/actions/workflows/frontend.yml)
A new project using Plone 6.
## Quick Start ๐
### Prerequisites โ
Ensure you have the following installed:
- Python 3.11 ๐
- Node 18 ๐ฉ
- yarn ๐งถ
- Docker ๐ณ
### Installation ๐ง
1. Clone the repository:
```shell
git clone git@github.com:kitconcept/kitconcept-blog.git
cd kitconcept-blog
```
2. Install both Backend and Frontend:
```shell
make install
```
### Fire Up the Servers ๐ฅ
1. Create a new Plone site on your first run:
```shell
make create-site
```
2. Start the Backend at [http://localhost:8080/](http://localhost:8080/):
```shell
make start-backend
```
3. In a new terminal, start the Frontend at [http://localhost:3000/](http://localhost:3000/):
```shell
make start-frontend
```
Voila! Your Plone site should be live and kicking! ๐
### Local Stack Deployment ๐ฆ
Deploy a local `Docker Compose` environment that includes:
- Docker images for Backend and Frontend ๐ผ๏ธ
- A stack with a Traefik router and a Postgres database ๐๏ธ
- Accessible at [http://kitconcept-blog.localhost](http://kitconcept-blog.localhost) ๐
Execute the following:
```shell
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_blog.
- **frontend**: Contains the React (Volto) package.
- **devops**: Encompasses Docker Stack and Ansible playbooks.
### 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:
```shell
make format
```
Linters can be run individually within the `backend` or `frontend` folders.
## Internationalization ๐
Generate translation files for Plone and Volto with ease:
```shell
make i18n
```
## Credits and Acknowledgements ๐
Crafted with care by **This was generated by [cookiecutter-plone-starter](https://github.com/collective/cookiecutter-plone-starter) on 2023-10-27 09:04:19**. A special thanks to all contributors and supporters!