Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Download DrupalConsole

$ curl -LSs http://drupalconsole.com/installer | php

Make DrupalConsole globaly accesible

$ mv console.phar /usr/local/bin/drupal

Download Drupal 8

$ drupal site:new drupal.dev 8.0.0

[+] Downloading Drupal 8.0.0
[+] Extracting files for Drupal 8.0.0
[+] Drupal 8.0.0 was downloaded in directory drupal.dev

Install Drupal 8

$ cd drupal.dev
$ drupal site:install standard --langcode=en --db-type=mysql --db-host=127.0.0.1 
  --db-name=drupal --db-user=root --db-pass=root --db-port=3306 
  --site-name="Drupal 8 Site Install" --site-mail=admin@example.com --account-name=admin 
  --account-mail=admin@example.com --account-pass=admin -n

[-] Starting Drupal 8 install process
[-] Your Drupal 8 installation was completed sucessfully

NOTE: You can confir your site was properly installed by executing drupal site:status command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment