WordPress multisite installation using Bedrock.
- PHP 8.3+
- Composer 2.x
- MySQL 5.7+ / MariaDB 10.3+
# Clone repository
git clone git@github.com:apermo/chrdm.de.git
cd chrdm.de
# Install dependencies
composer install
# Set up local development (clones theme/plugin repos, creates symlinks)
./setup-dev.sh
# Configure environment
cp .env.example .env
# Edit .env with your settingsTheme and plugins are managed as separate repositories. For local development, setup-dev.sh clones them to repos/ and creates symlinks.
| Repo | Location | Symlink Target |
|---|---|---|
| apermo/sovereignty | repos/sovereignty/ |
web/app/themes/sovereignty/ |
Run ./setup-dev.sh to set these up automatically.
cd repos/sovereignty
# make changes, commit, push to sovereignty repo
# after release, update composer.lock in this repoPush to main branch triggers automatic deployment via GitHub Actions.
DEPLOY_HOST: Server hostnameDEPLOY_USER: SSH usernameDEPLOY_KEY: SSH private keyDEPLOY_PORT: SSH portDEPLOY_PATH: Path to project on server
- Set document root to
web/subdirectory - Configure wildcard DNS for subdomains:
*.christoph-daum.de - Create database and update
.env
See CLAUDE.md for detailed development guidelines.
Before composer install works, the sovereignty theme needs:
- Updated
composer.jsonwith:{ "name": "apermo/sovereignty", "type": "wordpress-theme", "extra": { "installer-name": "sovereignty" } } - A tagged release (e.g.,
v1.0.0)