This is a guide for software engineers who wish to take part in the development of this product.
This project declares all of its dependencies, and configures a Docker environment. Follow the steps described below to set everything up.
-
Clone the repo, if you haven't already.
-
Copy
.idea.example
to.idea
(optional), if you wish to quickly pre-configure PHPStorm. -
Copy
.env.example
to.env
, and change relevant configuration if necessary. -
Install dependencies with Composer.
docker-compose run composer install
Alternatively, use PHPStorm to install dependencies (requires step 2).
-
Bring up the environment.
docker-compose up
-
Set up the environment.
This involves running a script that will install WP, activate relevant plugins, etc. For this reason, it must be done by the
php
service.docker-compose run php /opt/wp.sh