Roots/Bedrock Development Template (Apache + MySQL)
See Bedrock README.md.
- Composer
- Docker
Note: Change my-bedrock-project
to your project name.
git clone git@github.com:mimosafa/roots-bedrock-apache-mysql-template.git my-bedrock-project
Go to the project directory with cd my-bedrock-project
.
composer install
cp .env.example .env
cp .env.local.example .env.local
Edit these files.
make install
Note: Inside the above command, make up
command described below is executed. Therefore, the Docker Container is already up after execution.
See Makefile for details.
Create and start containers:
make up
Stop services:
make stop
Stop and remove containers, networks:
make down
Stop and remove containers, networks, images, volumes:
make destroy
Open WordPress in your browser:
make open
Open WordPress dashboard in your browser:
make dashboard