Skip to content

Latest commit

 

History

History
42 lines (38 loc) · 1.7 KB

DDEV-README.md

File metadata and controls

42 lines (38 loc) · 1.7 KB

DDEV Installation Instructions

  1. Clone the Project Herbie Git repo on your local system git clone https://github.com/unlcms/project-herbie.git
  2. Navigate to the project-herbie directory cd project-herbie
  3. Checkout the desired branch e.g. git checkout master, git checkout issue-75-login
  4. Install composer project composer install
  5. Install WDN files composer install-wdn
  6. Create a local DDEV configuration file cp .ddev/config.local.yaml.dist .ddev/config.local.yaml (You may optionally edit config.local.yaml to change the project name or the local FQDN. If the FQDN is changed, make sure your hosts file is also updated so the domain resolves on your local machine.)
  7. Start DDEV ddev start (Since Drupal is not yet installed, DDEV will install it. This only happens once.)
  8. Navigate to http://cms-local.unl.edu/user and login (or whatever FQDN is defined in .ddev/config.local.yaml)
  9. Connect to the container via SSH ddev ssh (You are now inside the Docker container.)
  10. Add yourself as an administrator drush user:role:add administrator [UNL-ID] e.g. drush user:role:add administrator hhusker1
  11. Exit the container shell session exit
  12. Refresh your browser window. You're now an administrator user.

Notes

UNL CAS Authentication

The unl_cas module is enabled by default, which allows users to authenticate with UNL credentials. The shib.unl.edu server will only allow applications to connect that end with 'unl.edu', so the the default local FQDN is cms-local.unl.edu. This will need to be added to your local hosts file.

DDEV Documentation

Documentation for DDEV can be found at https://ddev.readthedocs.io/.