cms.c2sgmbh/README.md
Martin Porwoll a849359c20 docs: consolidate and update documentation for Payload 3.76.1 / Next.js 16
Update all version references from Payload 3.69.0 → 3.76.1 and Next.js
15.5.9 → 16.2.0-canary.41. Replace .env.example (MongoDB → PostgreSQL)
and README.md (generic template → project-specific). Remove obsolete
BUG_REPORT_CUSTOM_VIEWS.md. Add YouTube Analytics Dashboard to URLs and
February 2026 changelog entry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 21:29:50 +00:00

66 lines
1.6 KiB
Markdown

# Payload CMS Multi-Tenant
Multi-Tenant Headless CMS for 3 active websites under a single Payload CMS instance.
## Tech Stack
- **CMS:** Payload CMS 3.76.1
- **Framework:** Next.js 16.2.0-canary.41
- **Runtime:** Node.js 22.x
- **Database:** PostgreSQL 17.6 (via PgBouncer)
- **Cache:** Redis 7.x (optional, with in-memory fallback)
- **Package Manager:** pnpm
## Tenants
| Tenant | Slug | Domain |
|--------|------|--------|
| porwoll.de | porwoll | porwoll.de |
| Complex Care Solutions GmbH | c2s | complexcaresolutions.de |
| Gunshin | gunshin | gunshin.de |
## Quick Start
### Prerequisites
- Node.js 22.x
- pnpm
- PostgreSQL 17 (or PgBouncer connection)
- Redis (optional)
### Setup
```bash
# Install dependencies
pnpm install
# Copy environment variables
cp .env.example .env
# Edit .env with your database credentials
# Run development server
pnpm dev
```
Open [http://localhost:3000/admin](http://localhost:3000/admin) to access the admin panel.
## Commands
```bash
pnpm dev # Development server
pnpm build # Production build
pnpm payload migrate # Run migrations
pnpm payload migrate:create # Create migration
pnpm test # Run tests
pnpm lint # ESLint
pnpm typecheck # TypeScript check
```
## Documentation
- **[CLAUDE.md](./CLAUDE.md)** - Full project documentation (collections, blocks, APIs, architecture)
- **[docs/](./docs/)** - Additional documentation (infrastructure, deployment, security)
## Email Testing
Set `EMAIL_DELIVERY_DISABLED=true` to bypass SMTP calls during testing. This flag is automatically honored in `NODE_ENV=test`.