Skip to content

Instantly share code, notes, and snippets.

@penyaskito
Created July 11, 2013 18:31
Show Gist options
  • Select an option

  • Save penyaskito/5977938 to your computer and use it in GitHub Desktop.

Select an option

Save penyaskito/5977938 to your computer and use it in GitHub Desktop.
Install/Clean Drupal 8
# Get a clean D8 install in minutes:
git clone --recursive --branch 8.x http://git.drupal.org/project/drupal.git;
cd drupal;
drush si --db-url=mysql://sprintweekend:pass1@localhost/sprintweekend --db-su=root --db-su-pw=pass2 --locale=en-US --site-name="Sprint Weekend" --account-mail=user@example.com --account-pass=pass3;
# If you are experiencing permission issues
chmod -R 777 sites/default/files;
# Note: pass1 & pass3 do not exist yet. Use the ones you want to set up. pass2 is your root database user's password.
# Note2: change root for the name of administrator's username for your MySQL server.
# Get a D8 reinstall in minutes:
cd drupal;
sudo rm sites/default/files/*;
drush si #This will use the existing pass1, pass2 and pass3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment