- Published on
Installing Drupal on DDev
- Authors
I am using Drupal to install the English Chess Federations League Management System modules and theme to have a local installation for development purposes. If you want to use it for another reason follow the Drupal 10 Quick start CMS guide from the DDev docs.
Below are the modified commands from the documentation for this use case, run each line and check your terminal that all the commands have run and not produced an errors.
you can replace 'pass' in the command below with your own password, this will be your password for use with the 'admin' user.
This should launch your installed version of drupal in a browser window.
In the project directory if you run the command ddev
or ddev -h
in a terminal then you will see the ddev help and list of commands. A couple of useful ones (note ddev launch
was mentioned above):
ddev launch
opens a web browser showing the project.ddev describe
gives all the info about the current project.ddev ssh
takes you into the web container. Here you can use composer and drush the drupal cli tool. Typeexit
and hit return to leave the container shell.ddev composer
runs Composer inside the container. For example,ddev composer install
will do a full composer install for you without even needing Composer on your computer.
I installed Drupal using DDev so that I could develop on a local installation of the English Chess Federation's League Management System. I have written another post on installation and setup of the LMS on DDev.