-
Notifications
You must be signed in to change notification settings - Fork 37
Using DDEV for local testing and development
Steve Taylor edited this page Feb 2, 2023
·
1 revision
DDEV is an open source tool for creating local, virtualized PHP development environments. It is preconfigured in a way that makes it very well suited for Drupal and Mukurtu CMS development.
Steps to use DDEV with Mukurtu CMS v3:
-
Install DDEV
- If you are on Windows, you MUST follow the instructions for installing using WSL2 (Windows Subsystem for Linux). The filesystem performance between docker and DDEV on the non-WSL installation is too slow to be useful
- Once DDEV is successfully installed, clone the Mukurtu CMS code:
git clone https://github.com/MukurtuCMS/mukurtucms.git my-mukurtu-site
- Change directory into your new project:
cd my-mukurtu-site
- Configure the DDEV project for Drupal 7:
ddev config --project-type=drupal7
- Start the DDEV virtual machine:
ddev start
- Click the link, or run
ddev launch
to open your new local site in your browser - Install and use Mukurtu as normal
- Run
ddev stop
to turn off the virtual machine - Read the DDEV Basics for more instructions on how to use the ddev command. You can use
drush
with DDEV by prefixing your commands withddev
, for example clearing all caches:ddev drush cc all