Skip to content

OULibraries/drupal-8-umami-example

Repository files navigation

drupal-8-umami-example

An example Drupal 8 site that can be imported into the Drupal 8 Docker development environment.

Using this Repo

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.

  1. Clone this repo into the dev directory 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
  1. Set ownership of the dev directory to www-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
  2. Download the Umami DB dump from the releases page and place it in mysql/resources/init.
  3. Start the Drupal 8 Docker development environment.
    $ docker-compose up -d --build
  4. Wait for the MySQL database to become available and navigate to http://localhost:8080 to view the Umami example site.

Admin credentials for the example site are admin/password.

About

An example Drupal 8 site that can be imported into the Drupal 8 Docker development environment

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors