Skip to content
/ drupal-11-template Public template

ITK Template for creating a new Drupal 11 site

Notifications You must be signed in to change notification settings

itk-dev/drupal-11-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drupal 11 TEMPLATE

This is a Drupal project template for starting new projects. The template includes default setup and a starting point for:

  • PHP Code sniffer
  • PHP Code styles
  • Github actions
  • Tasks
  • Local settings
  • Docker and overrides
  • Readme
  • Changelog

Usage

Build new project from template

Build a new project using this template (replace {REPO_NAME} with a proper Git repository name):

gh repo create itk-dev/{REPO_NAME} --template itk-dev/drupal-11-template --public --clone

Prune the project

Prune the project to remove/override template specific files and set up the project with docker config and settings:

task template-prune PROJECTNAME={PROJECTNAME}

Important

Replace {PROJECTNAME} with your actual project name. This will:

  • Remove TEMPLATE_THEME and cause coding-standards-check to fail until a new theme is added.
  • Add/override .env and .task.env files with files that uses {PROJECTNAME}
  • Add/override a settings.local.php to web/sites/default folder
  • Add/override a services.local.yml to web/sites/default folder
  • Override CHANGELOG.md
  • Replace {PROJECTNAME} placeholder in README.md and CHANGELOG.md
  • Override Taskfile.yml

About

ITK Template for creating a new Drupal 11 site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages