Installation Directory

The steps below are for installing Drupal 8 into the ~/Documents/dev/lando/d85 folder on my Mac. Substitute the locations are you see fit.

Setup Software Stack

If you have installed the pre-requisites, you can follow these steps to get the software stack running. Position yourself in the parent directory of where the application should be installed. In my case, ~/Documents/dev/lando.

cd ~/Documents/dev/lando

Drupal will be installed with the drupal-composer project. To learn more about drupal-composer see reference section below. Replace the ‘d85’ with your application directory name.

The Drupal code has been installed. Position your in the newly created application directory.

cd ~/Documents/dev/lando/d85

We will now create a Lando instance using a Drupal 8 recipe. You will be asked two questions. 1. Webroot - Your webroot is ‘web’, drupal-composer is setup to make the folder the webfoot. 2. App name - I like to make the app name and folder the same.

lando init --recipe drupal8
Where is your webroot relative to the init destination? (.) web
What do you want to call this app? (My Lando App) d85

The lando init process is quick, it creates a .lando.yml file. The next step is to build the Lando instance. When complete, Lando will provide you with a URL to the newly created Drupal website. My URL was http://localhost:32828

lando start

Install Drupal

Using the link provided, you will see the Drupal install page.

Choose Language: - Leave default, Save and Continue

Choose Profile: - Leave default, Save and Continue

Setup Database: Use the information below for the database settings, use the Advanced button to set the proper Host Name to 'database'.

Microblog

This Website

This website is an experiment. It's built with Sculpin, which is a static site generator written in PHP. It converts Markdown files, Twig templates and standard HTML into a static HTML site that can be easily deployed. Learn more about this website build.