This repository contains scaffolding for a demo environment to use while working through some of the tutorials in the Drupalize.Me Migrate to Drupal 9 or 10 course.
It contains configuration to run Drupal locally in DDEV or in the cloud on Gitpod.
Assuming you have Docker installed, and DDEV-Local installed.
- Clone this repo
- Run the following commands from the root directory of the repo
ddev start
ddev composer install
ddev drush site:install -y
ddev import-db --src=backup.sql.gz
ddev drush deploy -y
# This sets up a new database in the DDEV db container named lahmansbaseballdb
# that contains some sample data.
# This will download a copy of the MySQL data for the Lahman baseball statistics
# database and import it into DDEV in a new db named 'baseball'. Take a look
# at the code if you're unsure about running random scripts. :)
./scripts/setup-baseball-data.sh
The default admin user is admin/admin. Or you can reset it with ddev drush uli
.