In this video, we are going to install Drupal 8 with the help of composer and docker4drupal
If you liked this video, please also have a look at my new course about Drupal 8 module development here (with 50% discount):
https://goo.gl/LPyeDw
🤓 If you want to support Drupal Up's YouTube channel:
/ drupal_up
We are going to use composer to create a codebase with the latest version of Drupal 8.
composer create-project drupal-composer/drupal-project:8.x-dev docker_drupal --stability dev --no-interaction
Then we are going to clone the latest version of docker4drupal and remove the .git folder from it
git clone https://github.com/wodby/docker4drupa... docker_drupal_server
rm -R docker_drupal_server/.git
Then we are going to remove the docker-compose.override.yml which will tell docker4drupal to check for a web folder and load the Drupal codebase from there
rm docker_drupal_server/docker-compose.override.yml
And copy the content of the server folder's content to the Drupal composer folder:
cp -R docker_drupal_server docker_drupal
Afterward, we are going to change to the docker_drupal folder and use docker compose to run the containers:
docker-compose up -d
And the Drupal install interface should appear under:
http://drupal.docker.localhost:8000
How to install composer:
https://getcomposer.org/doc/00-intro....
How to install Docker:
https://docs.docker.com/engine/instal...
drupal-composer
https://github.com/drupal-composer/dr...
docker4drupal
https://github.com/wodby/docker4drupal
More videos and stuff you may find on https://drupal-up.com
To support us please, don't forget to share, subscribe, like and comment on the video!