Skip to content

Instantly share code, notes, and snippets.

@jackbravo
Forked from jmolivas/DrupalConsole-Drupal8.md
Last active December 17, 2015 01:36
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 jackbravo/415dc9b26828fb089910 to your computer and use it in GitHub Desktop.
Save jackbravo/415dc9b26828fb089910 to your computer and use it in GitHub Desktop.

Download DrupalConsole

$ curl https://drupalconsole.com/installer -L -o drupal.phar
$ chmod +x drupal.phar

Make DrupalConsole globaly accesible

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

Download Drupal 8

$ drupal site:new drupal.dev 8.0.1

[+] Downloading Drupal 8.0.1
[+] Extracting files for Drupal 8.0.1
[+] Drupal 8.0.1 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.

NOTE: And you can even test drive your new site using the drupal server command XD.

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