Making a Drupal site in Dreamhost
What I learned today
- Copying files one directory up and removing them
- Drush site-install
What I knew
- Setting up sites with Dreamhost (domain, hosting, database hostname and creation)
- Drush (somewhat)
- Drupal
My steps
- Register domain (with Dreamhost)
- Host domain (with Dreamhost)
- Create hostname (with Dreamhost)
- Create database (with Dreamhost)
- Username
- Password
- Database name
- SSH to home directory
- Drush dl
- Copy files from drupal to the home directory (
- Remove the drupal subfolder
- drush site-install –db-url=mysql://{username}:{password}@{hostname}{database}
- Login with credentials on the new site
Links
How can I copy the contents of a folder to another folder in a different directory using terminal?
site-install - Specifically the “Install using the specified DB params.”