Skip to content

v1.1.0 — Drupal auto-install & local dev config

Choose a tag to compare

@PauloCarv PauloCarv released this 08 Jun 19:19
· 41 commits to main since this release

What's new

drupal-init: automatic Drupal installation

When initialising a new project without a DB dump, DrupalClaw now installs Drupal automatically via drush site:install and shows the admin credentials at the end.

  • Strong admin password generated (12 chars, mixed alphanumeric + special)
  • If the stack is already running: installs immediately, shows URL + credentials
  • If the stack is not running yet: saves credentials, shows the command to use after drupal-serve

settings.local.php — complete setup

  • hash_salt now generated via openssl rand and included in settings.local.php
  • No more manual step required to complete the Drupal settings

services.local.yml — Twig debug & null cache

New file created automatically with local development settings:

  • Twig debug mode ON (debug: true, auto_reload: true, cache: false)
  • HTTP cacheability debug headers enabled
  • Null cache backend for development
  • Referenced from settings.local.php via container_yamls
  • Gitignored automatically alongside settings.local.php

Informative output

Step 7 now explains every file created and shows a clear summary:

📁 Configuration files:
   settings.php         → includes settings.local.php
   settings.local.php   → DB credentials, hash_salt, dev settings
   services.local.yml   → Twig debug ON, cache backend: null

🎉 Drupal installed!
   🌐 URL:       http://localhost:8085
   👤 Username:  admin
   🔑 Password:  xK9mP2nQ!3

Skill sync fix (from v1.0.0 hotfix)

workspace/.pi/skills/ removed from git — image is now the authoritative source. Entrypoint always overwrites skills on startup, preventing stale versions from git checkouts.

Updating

docker compose pull
docker compose up -d