Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.22 KB

File metadata and controls

30 lines (23 loc) · 1.22 KB

Local Drupal Dev

This repo is a starting point to quickly spin up a local Drupal development environment that is ready to use for Drupal contributions. It includes:

  • Drupal 11
  • Drush 13
  • Admin Toolbar
  • Emulsify tooling - but not Emulsify itself for ease of testing new installs of Emulsify
  • Devel
  • Kint
  • Xdebug enabled
  • Local Twig debugging enabled

Requirements

Getting Started

  1. Clone this repo down to a new folder git clone git@github.com:codechefmarc/local-drupal-dev.git custom-name-here
  2. Change into the new directory and run npm run setup
  3. Answer the questions - defaults are provided
  4. One of the questions is to change the default git repo for push - this allows you to push any changes made to your own repo

Refresh Local

  1. Run npm run refresh to rebuild your local from scratch. This command will also run composer update as well.

Retrieve updates from the original repo

  1. There is now a git remote called original to more easily retrieve updates from the original repo.
  2. Run git pull original main to get the latest updates into your project.