Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.21 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.21 KB

Migration Demo Site

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.

DDEV - localhost setup

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 --existing-config -y
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.