Docker4Drupal

Установка и настройка.

Файл .bash_aliases

i:d4d - Поднимает последнию версию docker4drupal.
i:drupal - Поднимает последнию версию drupal.

alias i:d4d="wget $(curl -s https://api.github.com/repos/wodby/docker4drupal/releases/latest | grep browser_download_url | cut -d '"' -f 4) tar -xvzf docker4drupal.tar.gz rm docker4drupal.tar.gz docker-compose.override.yml sed -i \"0,/PROJECT_NAME=/s/PROJECT_NAME=.*/PROJECT_NAME=\$(basename \$(pwd))/\" .env sed -i \"0,/PROJECT_BASE_URL=/s/PROJECT_BASE_URL=.*/PROJECT_BASE_URL=\$(basename \$(pwd)).localhost/\" .env" # ' alias i:drupal="make composer \" -n create-project drupal/recommended-project\"; mv recommended-project/* .; mv recommended-project/.* .; rm -d recommended-project/; chmod 757 web/sites/default; cp web/sites/default/default.settings.php web/sites/default/settings.php; chmod 647 web/sites/default/settings.php;"
Теги
Drupal 8.x
Docker4Drupal
Drupal Project