This course will be retired on February 24, 2020.
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Installing Drupal3:27 with Diane Douglas
After all that setup and preparation, we install Drupal and see our site up and running.
Drupal Core setup:
Download the Drupal Core folder here, and then rename the downloaded folder for your project.
In Terminal, 'cd' to your project directory and then run these two commands:
- cp sites/default/default.settings.php sites/default/settings.php
- chmod -R a+w sites/default
Then, set your server's document root to your project directory and navigate to
http://localhost:8888/ to follow the Drupal installation instructions.
- Select the "Standard" install, click "Save and Continue".
- Select "English" as the language, click "Save and Continue".
- Under the "Set up databases" tab, select "MySQL, MariaDB, or equivalent" and then fill in your database name, and the username and password you just created in phpMyAdmin. Then click "Save and Continue". This links your Drupal site to its database - this is not the account you will use to login and administer your site.
- Under the "Configure site" tab, pick a site name (like "My First Drupal Site") and enter your email address.
- Enter details to create a site maintenance account, and make sure to save this Drupal username and password too with your database username and password.. This is the account you will use to log in and administer your Drupal site, and it is a pain to change the username and password later.
- At the bottom select the country and timezone. Then click "Save and Continue".
Now, Mac users can go back into the MAMP application.
Click preferences, and then web server.
Then set your document route folder to point to our project directory
by clicking on the little folder icon, and
browsing to your folder holding Drupal Core, which we have called cameron-site.
I'll click select and okay.
Windows users have already configured the location of the document
route folder in httpd.conf during the WAMP installation process.
So, anyone using WAMP, can ignore that step.
Now we can use Drupal's web interface to configure our website, and
set it up to use our database.
Mac users point the browser to, local host, colon, 8888.
Windows users can point the browser to just, local host, and
then click on cameron-site, or whatever you named your project directory.
There will be a few pages to walk you through the last of the Drupal
We're almost there.
Select the standard install, and then click, Save and Continue.
Then, select English as the language and click Save and Continue.
Now, under the Set up database tab, select MySQL,
MariaDB, or equivalent and then, fill in the name of your database
which we called cameron_database.
And then enter the user name and password you created in PHP My Admin.
For us, that would be database_admin for the user name.
And our password was treehouse.
This links your Drupal site to the database.
This is not the account you will use to log in and administer your site.
After this step Drupal may take a moment to configure.
On the next page, labeled Configure site.
Pick a site name, like oh,
My First Drupal Site.
And then enter your email address.
And now we need to enter details to create the site maintenance account.
And make sure to save this Drupal user name and
password too with your database username and password.
This is the account you will use to log in and administer your Drupal site.
I'll call our user name admin and
our password will again be treehouse, treehouse.
At the bottom, we can select the country.
And, we can leave the time zone at it's default.
And, finally click Save and Continue.
Now, you will see a welcome site.
Congratulations, you installed Drupal.
Underneath this announcement, click on the Visit your new site link.
You need to sign up for Treehouse in order to download course files.Sign up