Skip to content

mimosafa/wordpress-composer-template

Repository files navigation

WordPress Composer Template

Requirements

Local:

  • Docker
  • Composer

Staging / Production:

  • wp-cli
  • Composer

Installation

Pull the repository

Note: Change my-bedrock-project to your project name.

git clone git@github.com:mimosafa/wp-composer-template.git my-bedrock-project

Go to the project directory with cd my-bedrock-project.

Install dependencies

composer update

Prepare env file

cp .env.example .env

Edit .env file.

Basic Usage

Docker container lifecycle

Create and start containers:

make up

WP_TITLE, WP_ADMIN_USER, WP_ADMIN_PASSWORD, and WP_ADMIN_EMAIL, etc. definition in .env file makes you install and initialize WordPress site in first execution.

Stop services:

make stop

Stop and remove containers, networks:

make down

Stop and remove containers, networks, images, volumes (and wp-config.php if exists):

make destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published