Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Lando WordPress Configuration

Lando is an extremely flexible local development environment that is based on Docker. If your system can run Docker, then you can run Lando regardless if you are on a Mac, Windows, or Linux machine. The beauty of Lando is that most of the Docker configuration is handled for you through prebuilt "recipes", which greatly simplifies the setup process.

This repository contains the Lando configuration file (.lando.yml) that I use for my WordPress projects along with the php.ini file that it references.

Usage

These steps assume that Lando is already installed.

  1. Download a zipped copy of this repository and copy the .lando.yml and php.ini files to your project root.
  2. Open up .lando.yml and rename the app's name to something unique.
  3. Specify the desired PHP version, web server (apache or nginx), and database server (mysql, mariadb, or mongodb).
  4. Change the proxy from wpsandbox.test to your desired domain.
  5. Update your hosts file so that the app's domain points to 127.0.0.1 (echo '127.0.0.1 wpsandbox.test' | sudo tee -a /etc/hosts).
  6. Run the command lando start from the project root.

Documentation

Refer to Lando's extensive documentation.

About

Lando configuration for WordPress projects

Resources

Packages

No packages published