Skip to content

halay08/elite-wp

Repository files navigation

Elite

A Wordpress site using for Elite Work landing page

Prerequisites

  • 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.

Installation

System Requirements

This application uses Lando. So here are some basic guidelines to ensure your Lando experience is as smooth as possible.

Operating System

  • 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

Docker Engine Requirements

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.

Setup Environment

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 start

Development

PHP Coding Standards

Follow Wordpress PHP Coding standards at Wordpress offical site

Some other Coding Standards

Lando commands

See lando command example

Access to appserver service:

$ lando ssh

Use WP-CLI:

$ lando wp <command>
# Ex. lando wp theme activate unlimited_v2

Destroy the Lando application:

$ lando destroy

Rebuild services:

$ lando rebuild -y

This 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 restart

See lando all services' info (ex: database host, appserver endppoint, etc.):

$ lando info

Deployment

Troubleshooting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published