Skip to content

Quickly spin up a local Drupal site for testing all the things

Notifications You must be signed in to change notification settings

codechefmarc/local-drupal-dev

Repository files navigation

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:

  • Devel
  • Admin Toolbar
  • Emulsify tooling - but not Emulsify itself for ease of testing new installs of Emulsify

Getting Started

  1. Clone this repo down to a new folder git clone [email protected]: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 re-run composer install 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.

About

Quickly spin up a local Drupal site for testing all the things

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages