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:
- Devel
- Admin Toolbar
- Emulsify tooling - but not Emulsify itself for ease of testing new installs of Emulsify
- Clone this repo down to a new folder
git clone [email protected]:codechefmarc/local-drupal-dev.git custom-name-here
- Change into the new directory and run
npm run setup
- Answer the questions - defaults are provided
- 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
- Run
npm run refresh
to rebuild your local from scratch. This command will also re-runcomposer install
as well.
- There is now a git remote called
original
to more easily retrieve updates from the original repo. - Run
git pull original main
to get the latest updates into your project.