- Getting Started with Drupal Commerce
- Richard Jones
- 359字
- 2025-02-26 00:51:41
Setting up a new Drupal site
For the purposes of demonstration in this book, we do not need the extra Acquia modules active. Instead, we want a clean Drupal install with Drupal Commerce, so we will now set up a new website.
Tip
You can download and install a kickstart version of Drupal Commerce which will set up a number of defaults and immediately give you a demonstration store to experiment with. However, this book is intended to take you step-by-step building on your understanding in each chapter. Download Kickstart from http://www.drupal.org/project/ commerce_kickstart.
The following are the steps for setting up a new Drupal site:
- Download the latest version of Drupal 7 from the http://drupal.org/project/drupal link as shown in the following screenshot:
- Uncompress the downloaded file to
Sites
in yourUser
folder.Tip
We suggest renaming the uncompressed folder to simply
drupal
in place of the downloaded version's name ofdrupal-7.xx
. This is a convention rather than necessity, but will simplify future upgrades when the core version of Drupal changes. - Go back to the Dev Desktop control panel and click on Settings….
- Click on the Sites tab, as shown in the following screenshot:
- Click on the Import… button.
- In the Import site screen, set the Site path to recently uncompressed and renamed
drupal
folder. - The Subsite field will show
default
as the only option. - Under Database, select Create new database and give it a suitable name.
- Enter a new subdomain and then click on Import, as shown in the following screenshot:
- Your default browser will open on the Drupal installation page.
- Select the Standard profile, then click on Save and continue.
- Select English and click on Save and continue.
- When the install process has completed, you will be presented with the Configure Site screen, as shown in the previous screenshot.
- Enter a valid site e-mail address, username, and password.
- Scroll down and complete the last two sections as appropriate for your region.
- It is always recommended to select Check for updates automatically.
- Click on Save and continue. When this is complete, clicking on the Visit your new site link will take you to the home page.