diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..68d778c --- /dev/null +++ b/LICENSE @@ -0,0 +1,69 @@ +Parish Website Template — Commercial License Agreement + +Copyright (c) 2026 Benno Tielen . All rights reserved. + +This software (the "Software") is licensed, not sold. By installing, copying, +or otherwise using the Software, the licensee ("Licensee") agrees to the terms +below. If Licensee does not agree, Licensee must not use the Software. + +1. Grant of License +Subject to payment of the applicable license fee and compliance with this +agreement, the copyright holder ("Licensor") grants Licensee a non-exclusive, +non-transferable, perpetual license to: + (a) install and operate the Software on servers owned or controlled by + Licensee, for Licensee's own parish or organization, and + (b) modify the source code of the Software for Licensee's own operational + use. + +Unless otherwise agreed in writing, this license covers a single production +deployment per purchased license. Non-production environments (staging, +development, backup) operated solely by Licensee in support of that production +deployment are included. + +2. Restrictions +Licensee shall NOT, in whole or in part, whether modified or unmodified: + (a) redistribute, publish, sublicense, lease, rent, lend, or sell the + Software to any third party; + (b) use the Software to provide a hosted, managed, SaaS, white-label, or + similar service to any third party; + (c) remove, obscure, or alter any copyright, trademark, or license notice + contained in the Software; + (d) reverse engineer or decompile any non-source components of the Software + except to the extent such restriction is prohibited by applicable law. + +3. Ownership +All right, title, and interest in the Software, including all intellectual +property rights, remain with Licensor. Modifications created by Licensee are +owned by Licensee, but are derivative works of the Software and are therefore +subject to the restrictions in Section 2. + +4. Warranty Disclaimer +THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. + +5. Limitation of Liability +TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, LICENSOR SHALL NOT BE +LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE +DAMAGES, OR ANY LOSS OF PROFITS OR REVENUES. LICENSOR'S TOTAL AGGREGATE +LIABILITY UNDER THIS AGREEMENT SHALL NOT EXCEED THE LICENSE FEE PAID BY +LICENSEE FOR THE SOFTWARE. + +6. Termination +This license terminates automatically if Licensee breaches any of its terms. +On termination, Licensee must cease all use of the Software and destroy all +copies in its possession or control. Sections 3, 4, 5, 7, and 8 survive +termination. + +7. Governing Law and Jurisdiction +This agreement is governed by the laws of the Netherlands, without regard to +its conflict-of-laws rules. The competent courts of the Netherlands shall +have exclusive jurisdiction over any dispute arising out of or in connection +with this agreement. + +8. Entire Agreement +This agreement constitutes the entire agreement between the parties with +respect to the Software and supersedes all prior or contemporaneous +understandings. Any amendment must be in writing and signed by Licensor. + +For licensing inquiries, contact: Benno Tielen . diff --git a/README.md b/README.md index 4b65c32..8f81f25 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ -# Heilige Drei Könige Website +# Parish Website Template -This repository contains the source code for the Heilige Drei Könige Catholic Church website, built with: +A white-label website template for Catholic parishes. One codebase powers multiple parish sites; the active site is selected at build/run time via the `NEXT_PUBLIC_SITE_ID` environment variable, and each site's branding (name, colors, fonts, logo, favicon, contact info) lives under `sites//`. The repository currently ships with `dreikoenige` (Heilige Drei Könige) and `chemnitz` as reference deployments. -- Next.js -- React +Built with: + +- Next.js 15 (App Router) +- React 19 - Payload CMS v3 -- PostgreSQL +- PostgreSQL with PostGIS ## Quick start @@ -130,6 +132,10 @@ Open http://localhost:6006 Site-wide metadata (title, description, keywords, OpenGraph) is configured in `src/config/site.ts`. Update that file to change SEO defaults used in the root layout. +## License + +This software is distributed under a commercial license, not as open source. Purchasing a license grants the right to deploy and modify the Software on servers you operate; redistribution, resale, and use as a hosted service for third parties are not permitted. See [`LICENSE`](./LICENSE) for the full terms, or contact Benno Tielen for licensing inquiries. + ## A note on updating dependencies Payload CMS and Next.js are pinned to specific versions. From the Payload docs we currently have the following requirements (March 2026): diff --git a/package.json b/package.json index 8aad673..2124a05 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,10 @@ { - "name": "drei-koenige-v3", + "name": "@bennotielen/parish-website", "version": "1.0.0", - "description": "A blank template to get started with Payload 3.0", - "license": "MIT", + "description": "White-label parish website template (Next.js 15 + Payload CMS v3 + PostgreSQL/PostGIS).", + "license": "SEE LICENSE IN LICENSE", + "author": "Benno Tielen ", + "private": true, "type": "module", "scripts": { "prebuild": "node --env-file-if-exists=.env scripts/copy-favicon.mjs",