Skip to content

timothyjensen/lando-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published