- Docker Community Edition for Mac - Ensure Docker is installed and running or for Windows
- Composer - Ensure composer is installed
Clone the repository
git clone https://github.com/disastersystems/disaster-recovery.git
cd disaster-recovery
bash install.sh
This will install the site, import existing configuration and generate one time login link for you.
MUST create term "Shelters" under Resources vocabulary
docker-compose exec --user 82 php drush cr --root=/var/www/html/web
docker-compose exec --user 82 php drush import-organization --root=/var/www/html/web
IMPORTANT: Only need to do this to get latest updates.
bash update.sh
- If you have this error
Entities exist of type Shortcut link and Default. These entities need to be deleted before importing.
, replace uuid inshortcut.set.default.yml
with null then try to re-import again. Here's a link to the bug report in the D8 issue queue.
docker-compose exec --user 82 php drush config-export --root=/var/www/html/web
IMPORTANT: Only commit files related to your features only.