An example Drupal 8 site that can be imported into the Drupal 8 Docker development environment.
This repo is designed to be used alongside the Drupal 8 Docker development environment. It contains the contents of the sites directory for a single site Drupal 8 instance.
To use this site, clone this repo into the dev directory in the Drupal 8 Docker development environment repo.
- Clone this repo into the
devdirectory in the Drupal 8 Docker development environment repo.
# Navigate to your drupal-8-docker-dev repo copy.
$ cd /path/to/drupal-8-docker-dev
# Remove the .gitkeep file from dev so we can clone directly into dev.
$ rm ./dev/.gitkeep
# Clone into ./dev.
$ git clone https://github.com/OULibraries/drupal-8-umami-example.git ./dev- Set ownership of the
devdirectory towww-data(UID: 33). You should only need to do this if you are deploying the site on a Linux host. Docker Desktop for Mac and Windows handles the permissions for you.$ chown -R 33:33 ./dev
- Download the Umami DB dump from the releases page and place it in
mysql/resources/init. - Start the Drupal 8 Docker development environment.
$ docker-compose up -d --build
- Wait for the MySQL database to become available and navigate to
http://localhost:8080to view the Umami example site.
Admin credentials for the example site are admin/password.