Last active
February 3, 2017 10:34
-
-
Save jmolivas/3d943bc9ef9fc3310bbd to your computer and use it in GitHub Desktop.
Creating a Blog in Drupal 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ drush cr (cache-rebuild) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /var/www/ | |
$ git clone --branch 8.0.x http://git.drupal.org/project/drupal.git jmolivas.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /var/www/jmolivas.com/themes/ | |
$ git clone https://github.com/zetagraph/formata.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -sS https://getcomposer.org/installer | php | |
# Or if you don't have curl: | |
$ php -r "readfile('https://getcomposer.org/installer');" | php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /usr/share | |
$ sudo git clone --branch master https://github.com/drush-ops/drush.git | |
$ cd drush | |
$ composer install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mv composer.phar /usr/local/bin/composer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ln -s /usr/share/drush/drush /usr/bin/drush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment