Installing Drupal 8 with composer locally

 

composer create-project drupal-composer/drupal-project:8.x-dev demo --stability dev --no-interaction

cd into the demo directory and type composer install 

update /usr/local/etc/httpd/extra/httpd-vhosts.conf for demo.d8 sudo nano /etc/hosts and point demo.d8 to 127.0.0.1 

go to https://demo.d8 and install drupal

 

 

Images
Start Installation
Available Options
Select Distribution
Configure Drupal
Installing Drupal
Demo site with content