How Can We Help?
< All Topics
Print

Getting Ready for Drupal Installation

a) What tools are available to module and theme developers?

1. Drupal Console

The Drupal Console is a command-line tool that generates boilerplate code, interacts with a Drupal site, and can generate block or form code, install modules and themes, and create virtual content.

2. Coder

Coder is a command-line tool that checks modules and themes for coding standards compliance and best practices and can also fix violations.

3. Browser debugging tools

Web browsers like Firefox and Chrome offer tools for viewing, editing, debugging, and monitoring CSS, HTML, and JavaScript. To access the debug pane, right-click on the window area and select Inspect or Inspect Element.

b) How do I download Drupal core software manually ?

1. First, select the installation method of the core software.

a. Experience a free online demo with an online provider and receive a demo installation of the core software in 20 minutes or less.

b. Use the one-click installer provided by your hosting provider. If you choose to install the core software at your hosting provider, your hosting provider may have specific documentation and/or one-click installation that you can use.

c. Use Drush. You need to install Drush and access the site via the command line.

d. Use the web installer. You will need space on your local or hosted web server to manually install the core software.

e. Install Drupal locally using a preconfigured environment or virtual machine that contains Drupal and all required supporting software.

2. If you’ve installed Drush or the web installer, set up your site’s URL and hosting on an external provider or your computer. Check the functionality by placing an HTML file in the hosting web root directory and visiting your website’s URL.

3. When installing using Drush or the Web Installer, create a database and a database user account with full access permissions.

4. To install Drush, use the command drush dl drupal –drupal-project-rename=example cd example drush site-install standard –db url=’mysql://DB_USER:DB_PASS@localhost/DB_NAME’, where example is the downloaded directory and DB_NAME, DB_USER, and DB_PASS are database credentials.

5. If you are installing using the web installer, upload the core software files manually.

a. First, visit https://www.drupal.org and click Downloads and Extensions on the top menu.

drupal

b. Then, click the “Download Drupal” button (corresponding version) to access the download page.

drupal

c. After that, click on the version you want to download under “Recommended Versions.”

drupal

d. Next, download the tar.gz or zip file to your local computer.

e. Then, upload the downloaded file to your hosting account, then navigate to the HTML directory in the control panel and save the file there.

f. After that, unzip the tar.gz file to create a new directory. If not terminal-accessible, use the hosting control panel’s file manager or the tar -xzf drupal-8.3.2.tar.gz command.

g. Next, delete the compressed files from the server unless your decompression method has already deleted them.

h. To ensure your site’s directory name matches the virtual host’s configured directory, either rename the directory or reconfigure your virtual host.

c) How do I run the Drupal interactive installer ?

1. Using a hosting provider or demo site’s one-click installation can provide the most benefits. During the installation process, you may encounter various screens, including uploading core files manually and starting the installer by opening a browser and visiting the hosting URL.

2. Then, select a language, such as English, on the first page of the installer. Other languages can be selected. Language files will be downloaded and installed, allowing the installation process to be completed in the selected language. Save and continue.

drupal

3. After that, select the installation profile, which includes core software, modules, themes, and predefined configurations for a specific site type. The core standard installation profile is included, and you can click Save and Continue.

drupal

4. Next, the installer checks if your system meets the minimum requirements; if not, it provides a correction outline, and if so, it advances to the next step.

5. Next, the database details should be provided, followed by clicking Save and Continue.

Field name Explanation Example value
Database name The database is assigned a custom name. drupal8
Database username Username created databaseUsername
Database password Password chosen

drupal

6. The “Installing Drupalheading will display a progress bar, and after the installation program is completed, it will automatically proceed to the next step.

drupal

7. The final step involves configuring the new site’s basic information, creating an administrator account namedadmin,” and choosing a secure password. Fill out the form with the provided information, ensuring a secure and unique user experience.

Field name Explanation Example value
Site name The selected site’s name Anytown Farmers Market
Site email address The website’s email address is associated with it info@example.com
Username The user’s credentials
admin
Password Chosen password
Confirm password Repeat password.
Email address User’s email admin@example.com

drupal

8. Then, click Save and Continue.

9. Finally, you’ll be redirected to your new site’s homepage, where you’ll see a message congratulating you on installing Drupal displayed at the top of the page.

drupal

Table of Contents