- Docker4Drupal. Please follow documentation for usage. There will be a section below to summary some main points.
- Composer Template for Drupal Projects
- Docker Community Edition(Edge) for Mac
- git clone https://github.com/disastersystems/platform.git
- composer install
- docker-compose up -d
- open http://drupal.docker.localhost:8000
- run through installation process
- use "drupal" for username/password/dbname
- use "mariadb" for db host and leave port empty
- cat config/sync/system.site.yml to get uuid.
- docker-compose exec --user 82 php drush cset "system.site" uuid "uuid-from-system-site-yml" --root=/var/www/html/web
- docker-compose exec --user 82 php drush config-import --root=/var/www/html/web
- 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 import-organization --root=/var/www/html/web