Drupal/upgrade: Difference between revisions
mNo edit summary |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| Line 8: | Line 8: | ||
You need to upgrade Drupal like you brush your teeth... at least once or twice a day. | You need to upgrade Drupal like you brush your teeth... at least once or twice a day. | ||
< | <syntaxhighlight lang="bash"> | ||
cd /var/www/equality-tech.com/www/drupal | cd /var/www/equality-tech.com/www/drupal | ||
drush vset maintenance_mode 1 | drush vset maintenance_mode 1 | ||
| Line 17: | Line 17: | ||
mv .htaccess.mine .htaccess | mv .htaccess.mine .htaccess | ||
drush vset maintenance_mode 0 | drush vset maintenance_mode 0 | ||
</ | </syntaxhighlight> | ||
==Upgrading from Drupal 7 to Drupal 8== | ==Upgrading from Drupal 7 to Drupal 8== | ||
| Line 26: | Line 26: | ||
* https://github.com/geerlingguy/jeffgeerling-com | * https://github.com/geerlingguy/jeffgeerling-com | ||
< | <syntaxhighlight lang="bash"> | ||
# Start a new Drupal Project | # Start a new Drupal Project | ||
# Use composer to create a new Drupal project based on the 'recommended-project' project. | # Use composer to create a new Drupal project based on the 'recommended-project' project. | ||
| Line 44: | Line 44: | ||
ssh -L 127.0.0.1:33306:127.0.0.1:3306 root@equality-tech.com | ssh -L 127.0.0.1:33306:127.0.0.1:3306 root@equality-tech.com | ||
</ | </syntaxhighlight> | ||