Skip to content

Instantly share code, notes, and snippets.

@jmolivas
Last active February 3, 2017 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jmolivas/3d943bc9ef9fc3310bbd to your computer and use it in GitHub Desktop.
Save jmolivas/3d943bc9ef9fc3310bbd to your computer and use it in GitHub Desktop.
Creating a Blog in Drupal 8
$ drush cr (cache-rebuild)
$ cd /var/www/
$ git clone --branch 8.0.x http://git.drupal.org/project/drupal.git jmolivas.com​
$ cd /var/www/jmolivas.com/themes/
$ git clone https://github.com/zetagraph/formata.git ​
$ curl -sS https://getcomposer.org/installer | php​
# Or if you don't have curl:
$ php -r "readfile('https://getcomposer.org/installer');" | php
$ cd /usr/share
$ sudo git clone --branch master https://github.com/drush-ops/drush.git ​
$ cd drush
$ composer install
$ cd /var/www/jmolivas.com/
$ drush si standard --db-url=mysql://[db_user]:[db_pass]@localhost/[db_name] --site-name=[site_name] --account-name=[user_name] --account-pass=[user_pass] --account-mail=[user_mail]
$ mv composer.phar /usr/local/bin/composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment