Skip to content

Instantly share code, notes, and snippets.

@Cottser

Cottser/drupal8.sh

Created Sep 3, 2013
Embed
What would you like to do?
Drupal 8 bash functions
# Clean up Drupal 8 installation and do a pull.
function cleand8() {
chmod u+w sites/default
git reset --hard
git checkout 8.x
git pull
sudo rm -rf sites/default/files/php
drush cc all
}
# Reinstall Drupal 8 via Drush.
function sid8() {
drush si --account-pass=password
drush en -y simpletest devel devel_generate
drush dis -y overlay
sudo rm -rf sites/default/files/php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.