- Clone the Project Herbie Git repo on your local system
git clone https://github.com/unlcms/project-herbie.git
- Navigate to the project-herbie directory
cd project-herbie
- Checkout the desired branch
e.g.
git checkout master
,git checkout issue-75-login
- Install composer project
composer install
- Install WDN files
composer install-wdn
- 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.) - Start DDEV
ddev start
(Since Drupal is not yet installed, DDEV will install it. This only happens once.) - Navigate to http://cms-local.unl.edu/user and login (or whatever FQDN is defined in .ddev/config.local.yaml)
- Connect to the container via SSH
ddev ssh
(You are now inside the Docker container.) - Add yourself as an administrator
drush user:role:add administrator [UNL-ID]
e.g.drush user:role:add administrator hhusker1
- Exit the container shell session
exit
- Refresh your browser window. You're now an administrator user.
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.
Documentation for DDEV can be found at https://ddev.readthedocs.io/.