Watch
1
0
Fork
You've already forked drupal11-ddev-template
0
Jumpstart your Drupal11 setup.
  • PHP 52.6%
  • Shell 47.4%
Find a file Use this template
Repository files (latest commit first)
Filename Latest commit message Latest commit date
bdu 86e033b443 Initial commit: Drupal 11 DDEV template
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 22:04:46 +01:00
.ddev Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
.setup Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
web Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
.gitignore Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
CLAUDE.md Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
composer.json Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
composer.lock Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00
README.md Initial commit: Drupal 11 DDEV template 2026-02-19 22:04:46 +01:00

drupal11-ddev-template

A starter template for Drupal 11 projects using DDEV for local development.

Includes: Gin admin theme, content moderation, multilingual (NL/EN), pathauto, media, calendar, webform, Bootstrap5 subtheme, and more. See .setup/ for the full list.

Requirements

  • DDEV for local development
  • Docker

Start a new project from this template

# Use this repo as a template on Codeberg, then clone your new repo.
# Rename the DDEV project to match your project:
ddev config --project-name=your-project-name

ddev start
ddev composer install

# Fresh install:
bash .setup/install-1-base.sh
# Then continue with install-2-*.sh ... install-9-*.sh as needed.

# Or restore from a DB snapshot:
ddev import-db --file=dump.sql.gz
ddev drush cr
ddev launch

One-time login link:

ddev drush uli

Note: sites/default/files/ is gitignored. After restoring a DB snapshot, some subdirectories (e.g. languages/) may be missing. Run ddev drush cr to regenerate them, or create them manually if needed.

Setup scripts

The .setup/ directory contains numbered shell scripts to build the site from scratch. See CLAUDE.md for details.