Skip to content

Commit 36630ce

Browse files
authored
Merge pull request #1 from kitconcept/renametowebsite
Renaming and upgrading to core 1a22
2 parents 4e1f6f1 + 4f26640 commit 36630ce

166 files changed

Lines changed: 1120 additions & 1161 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
NODE_VERSION: 22.x
10-
ADDON_NAME: volto-site
10+
ADDON_NAME: website
1111
BASE_BRANCH: main
1212

1313
jobs:

.github/workflows/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'kitconcept-site: Compute Config variables'
1+
name: 'kitconcept-website: Compute Config variables'
22

33
on:
44
workflow_call:
@@ -21,7 +21,7 @@ on:
2121
image-name-prefix:
2222
required: false
2323
type: string
24-
default: "ghcr.io/kitconcept/kitconcept-site"
24+
default: "ghcr.io/kitconcept/kitconcept-website"
2525
node-version:
2626
required: false
2727
type: string

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "kitconcept.site: CI"
1+
name: "kitconcept.website: CI"
22

33
on:
44
push:

.github/workflows/manual_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "kitconcept-site: Manual Deploy"
1+
name: "kitconcept-website: Manual Deploy"
22

33
on:
44
workflow_dispatch:

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ MAKEFLAGS+=--no-builtin-rules
1111
CURRENT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
1212
GIT_FOLDER=$(CURRENT_DIR)/.git
1313

14-
PROJECT_NAME=kitconcept-site
14+
PROJECT_NAME=kitconcept-website
1515
STACK_FILE=docker-compose-dev.yml
16-
STACK_HOSTNAME=kitconcept-site.localhost
16+
STACK_HOSTNAME=kitconcept-website.localhost
1717

1818
VOLTO_VERSION = $(shell cat frontend/mrs.developer.json | python -c "import sys, json; print(json.load(sys.stdin)['core']['tag'])")
1919
KC_VERSION=$(shell cat backend/version.txt)
@@ -133,7 +133,7 @@ build-images: ## Build docker images
133133
stack-start: ## Local Stack: Start Services
134134
@echo "Start local Docker stack"
135135
VOLTO_VERSION=$(VOLTO_VERSION) KC_VERSION=$(KC_VERSION) docker compose -f $(STACK_FILE) up -d --build
136-
@echo "Now visit: http://kitconcept-site.localhost"
136+
@echo "Now visit: http://kitconcept-website.localhost"
137137

138138
.PHONY: start-stack
139139
stack-create-site: ## Local Stack: Create a new site
@@ -177,12 +177,12 @@ acceptance-test: ## Start Acceptance tests in interactive mode
177177
.PHONY: acceptance-frontend-image-build
178178
acceptance-frontend-image-build: ## Build Acceptance frontend server image
179179
@echo "Build acceptance frontend"
180-
@docker build frontend -t kitconcept/kitconcept-site-frontend:acceptance -f frontend/Dockerfile --build-arg VOLTO_VERSION=$(VOLTO_VERSION)
180+
@docker build frontend -t kitconcept/kitconcept-website-frontend:acceptance -f frontend/Dockerfile --build-arg VOLTO_VERSION=$(VOLTO_VERSION)
181181

182182
.PHONY: acceptance-backend-image-build
183183
acceptance-backend-image-build: ## Build Acceptance backend server image
184184
@echo "Build acceptance backend"
185-
@docker build backend -t kitconcept/kitconcept-site-backend:acceptance -f backend/Dockerfile.acceptance --build-arg KC_VERSION=$(KC_VERSION)
185+
@docker build backend -t kitconcept/kitconcept-website-backend:acceptance -f backend/Dockerfile.acceptance --build-arg KC_VERSION=$(KC_VERSION)
186186

187187
.PHONY: acceptance-images-build
188188
acceptance-images-build: ## Build Acceptance frontend/backend images
@@ -192,12 +192,12 @@ acceptance-images-build: ## Build Acceptance frontend/backend images
192192
.PHONY: acceptance-frontend-container-start
193193
acceptance-frontend-container-start: ## Start Acceptance frontend container
194194
@echo "Start acceptance frontend"
195-
@docker run --rm -p 3000:3000 --name kitconcept-site-frontend-acceptance --link kitconcept-site-backend-acceptance:backend -e RAZZLE_API_PATH=http://localhost:55001/plone -e RAZZLE_INTERNAL_API_PATH=http://backend:55001/plone -d kitconcept/kitconcept-site-frontend:acceptance
195+
@docker run --rm -p 3000:3000 --name kitconcept-website-frontend-acceptance --link kitconcept-website-backend-acceptance:backend -e RAZZLE_API_PATH=http://localhost:55001/plone -e RAZZLE_INTERNAL_API_PATH=http://backend:55001/plone -d kitconcept/kitconcept-website-frontend:acceptance
196196

197197
.PHONY: acceptance-backend-container-start
198198
acceptance-backend-container-start: ## Start Acceptance backend container
199199
@echo "Start acceptance backend"
200-
@docker run --rm -p 55001:55001 --name kitconcept-site-backend-acceptance -d kitconcept/kitconcept-site-backend:acceptance
200+
@docker run --rm -p 55001:55001 --name kitconcept-website-backend-acceptance -d kitconcept/kitconcept-website-backend:acceptance
201201

202202
.PHONY: acceptance-containers-start
203203
acceptance-containers-start: ## Start Acceptance containers
@@ -207,8 +207,8 @@ acceptance-containers-start: ## Start Acceptance containers
207207
.PHONY: acceptance-containers-stop
208208
acceptance-containers-stop: ## Stop Acceptance containers
209209
@echo "Stop acceptance containers"
210-
@docker stop kitconcept-site-frontend-acceptance
211-
@docker stop kitconcept-site-backend-acceptance
210+
@docker stop kitconcept-website-frontend-acceptance
211+
@docker stop kitconcept-website-backend-acceptance
212212

213213
.PHONY: ci-acceptance-test
214214
ci-acceptance-test: ## Run Acceptance tests in ci mode

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# kitconcept Site 🚀
22

33
[![Built with Cookieplone](https://img.shields.io/badge/built%20with-Cookieplone-0083be.svg?logo=cookiecutter)](https://github.com/plone/cookiecutter-plone/)
4-
[![Tests](https://github.com/kitconcept/kitconcept-site/actions/workflows/main.yml/badge.svg)](https://github.com/kitconcept/kitconcept-site/actions/workflows/main.yml)
4+
[![Tests](https://github.com/kitconcept/kitconcept-website/actions/workflows/main.yml/badge.svg)](https://github.com/kitconcept/kitconcept-website/actions/workflows/main.yml)
55

66
A CMS solution for public websites. Created by kitconcept.
77

@@ -21,8 +21,8 @@ Ensure you have the following installed:
2121
1. Clone the repository:
2222

2323
```shell
24-
git clone git@github.com:kitconcept/kitconcept-site.git
25-
cd kitconcept.site
24+
git clone git@github.com:kitconcept/kitconcept-website.git
25+
cd kitconcept.website
2626
```
2727

2828
2. Install both Backend and Frontend:
@@ -94,7 +94,7 @@ Deploy a local `Docker Compose` environment that includes:
9494

9595
- Docker images for Backend and Frontend 🖼️
9696
- A stack with a Traefik router and a Postgres database 🗃️
97-
- Accessible at [http://kitconcept.site.localhost](http://kitconcept.site.localhost) 🌐
97+
- Accessible at [http://kitconcept.website.localhost](http://kitconcept.website.localhost) 🌐
9898

9999
Execute the following:
100100

@@ -109,7 +109,7 @@ And... you're all set! Your Plone site is up and running locally! 🚀
109109

110110
This monorepo consists of three distinct sections: `backend`, `frontend`, and `devops`.
111111

112-
- **backend**: Houses the API and Plone installation, utilizing pip instead of buildout, and includes a policy package named kitconcept.site.
112+
- **backend**: Houses the API and Plone installation, utilizing pip instead of buildout, and includes a policy package named kitconcept.website.
113113
- **frontend**: Contains the React (Volto) package.
114114
- **devops**: Encompasses Docker Stack, Ansible playbooks, and Cache settings.
115115

backend/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.9
2-
ARG KC_VERSION
2+
ARG KC_VERSION=latest
33
FROM ghcr.io/kitconcept/core-builder:${KC_VERSION:-latest} AS builder
44

55
# Move skeleton folder
@@ -46,11 +46,11 @@ EOT
4646
FROM ghcr.io/kitconcept/core-prod:${KC_VERSION:-latest}
4747

4848
LABEL maintainer="kitconcept GmbH <info@kitconcept.com>" \
49-
org.label-schema.name="ghcr.io/kitconcept/kitconcept-site-backend" \
49+
org.label-schema.name="ghcr.io/kitconcept/kitconcept-website-backend" \
5050
org.label-schema.description="A CMS solution for public websites. Created by kitconcept." \
5151
org.label-schema.vendor="kitconcept GmbH"
5252

53-
ENV ALLOWED_DISTRIBUTIONS=kitconcept-site
53+
ENV ALLOWED_DISTRIBUTIONS=kitconcept-website
5454

5555
# Copy the pre-built `/app` directory to the runtime container
5656
# and change the ownership to user app and group app in one step.

backend/Dockerfile.acceptance

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
ARG KC_VERSION=6.1.0
2+
ARG KC_VERSION=latest
33
FROM plone/server-builder:${KC_VERSION} AS builder
44

55
WORKDIR /app
@@ -26,12 +26,12 @@ EOT
2626
FROM plone/server-acceptance:${KC_VERSION}
2727

2828
LABEL maintainer="kitconcept GmbH <info@kitconcept.com>" \
29-
org.label-schema.name="kitconcept.site-acceptance" \
29+
org.label-schema.name="kitconcept.website-acceptance" \
3030
org.label-schema.description="kitconcept Site backend acceptance image." \
3131
org.label-schema.vendor="kitconcept GmbH"
3232

33-
ENV CONFIGURE_PACKAGES="plone.restapi,plone.volto,plone.volto.cors,kitconcept.site"
34-
ENV APPLY_PROFILES="kitconcept.site:default"
33+
ENV CONFIGURE_PACKAGES="plone.restapi,plone.volto,plone.volto.cors,kitconcept.website"
34+
ENV APPLY_PROFILES="kitconcept.website:default"
3535

3636
# Copy /app from builder
3737
COPY --from=builder /app /app

backend/Dockerfile.beispiele

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# syntax=docker/dockerfile:1
2-
ARG IMAGE_TAG
2+
ARG IMAGE_TAG=latest
33
ARG SEED=1000
4-
FROM ghcr.io/kitconcept/kitconcept-site-backend:${IMAGE_TAG:-latest}
4+
FROM ghcr.io/kitconcept/kitconcept-website-backend:${IMAGE_TAG:-latest}
55

66
LABEL maintainer="kitconcept GmbH <info@kitconcept.com>" \
7-
org.label-schema.name="ghcr.io/kitconcept/kitconcept-site-beispiele" \
7+
org.label-schema.name="ghcr.io/kitconcept/kitconcept-website-beispiele" \
88
org.label-schema.description="A CMS solution for public websites. Created by kitconcept." \
99
org.label-schema.vendor="kitconcept GmbH"
1010

1111
# Disable MO Compilation
1212
ENV zope_i18n_compile_mo_files=
1313
# Show only our distributions
14-
ENV ALLOWED_DISTRIBUTIONS=kitconcept-site
14+
ENV ALLOWED_DISTRIBUTIONS=kitconcept-website
1515

1616
# Increase Upload limit to 6MB
1717
ENV ZOPE_FORM_MEMORY_LIMIT=6MB

backend/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
kitconcept.site Copyright 2023, kitconcept GmbH
1+
kitconcept.website Copyright 2023, kitconcept GmbH
22

33
This program is free software; you can redistribute it and/or
44
modify it under the terms of the GNU General Public License version 2

0 commit comments

Comments
 (0)