A Wordpress site using for Elite Work landing page
- Docker. Follow the Docker document at Offical Docker site guide.
- Lando. A tool to specify and painlessly spin up the services and tooling needed to develop. Download & Install Lando.
This application uses Lando. So here are some basic guidelines to ensure your Lando experience is as smooth as possible.
- macOS 10.13 or later
- Windows 10 Pro+ or equivalent (eg Windows 10 Enterprise) with Hyper-V running
- Linux with kernel version 4.x or higher
Please also verify you meet the requirements needed to run our Docker engine backend. Note that the macOS and Windows Lando installer will install Docker for you if needed.
- Linux Docker engine requirements
- Docker for Mac requirements
- Docker for Windows requirements
Clone source code from GIT repository.
Download & Install Lando
$ cp wp-config-local-sample.php wp-config-local.php
$ cp .env.example .env$ lando rebuild -y$ cd /path/to/project
$ lando startFollow Wordpress PHP Coding standards at Wordpress offical site
Access to appserver service:
$ lando sshUse WP-CLI:
$ lando wp <command>
# Ex. lando wp theme activate unlimited_v2Destroy the Lando application:
$ lando destroyRebuild services:
$ lando rebuild -yThis command will also run the bash script post-build.
Start/Stop/Restart lando
# Start all services
$ lando start
# Stop all services
$ lando stop
# Restart all services
$ lando restartSee lando all services' info (ex: database host, appserver endppoint, etc.):
$ lando info