Created
July 21, 2013 16:47
-
-
Save markhalliwell/6049112 to your computer and use it in GitHub Desktop.
Deletes settings.php, removes the php config dir, drops and creates the database table.
This file contains hidden or 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
| #!/bin/bash | |
| sudo rm -rf /sandbox/sites/d8.sandbox/sites/default/settings.php; | |
| sudo rm -rf /sandbox/sites/d8.sandbox/sites/default/files/php/; | |
| mysql -u root -proot -e 'DROP DATABASE `d8.sandbox`; CREATE DATABASE `d8.sandbox`;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment