backend-setup
Installation
SKILL.md
Backend setup
This skill gives the person a local Drupal site, built from the backend template, that their app can use as its backend.
Before you start
- Run the machine-check skill first:
bash scripts/check-machine.shin that skill. Go on only when its JSON saysreadyis true. Otherwise, show the person what it reports and stop. - Agree the project folder with the person. It must not exist yet, or must be empty, and it must be outside this skill's folder. Pass an absolute path; a relative one is resolved from the folder you run the script in. Its parent folder must already exist.
- The DDEV project name is the folder name. A folder named like an existing DDEV project fails at
ddev start. Runddev listand pick a name that is not there.
Set up the site
Run this skill's script:
bash <this-skill-folder>/scripts/setup-backend.sh [--source <git URL or path>] [--ref <tag, branch or commit>] <project-folder>