Skip to content

Instantly share code, notes, and snippets.

@jmolivas
Last active December 17, 2015 22:28
Show Gist options
  • Save jmolivas/4e02f5d590522317f082 to your computer and use it in GitHub Desktop.
Save jmolivas/4e02f5d590522317f082 to your computer and use it in GitHub Desktop.

Download DrupalConsole

curl https://drupalconsole.com/installer -L -o drupal.phar

Make DrupalConsole globaly accesible

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

Apply executable permissions on the downloaded file:

$ chmod +x /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 confirm your site was properly installed by executing the drupal site:statuscommand.

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