Skip to content

Instantly share code, notes, and snippets.

@mgrimard
Forked from jmolivas/DrupalConsole-Drupal8.md
Created November 20, 2015 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgrimard/21fc6963629f4651462f to your computer and use it in GitHub Desktop.
Save mgrimard/21fc6963629f4651462f to your computer and use it in GitHub Desktop.

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