Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 973 Bytes

DEVELOPERS.md

File metadata and controls

31 lines (23 loc) · 973 Bytes

Developers

This is a guide for software engineers who wish to take part in the development of this product.

Environment Setup

This project declares all of its dependencies, and configures a Docker environment. Follow the steps described below to set everything up.

  1. Clone the repo, if you haven't already.

  2. Copy .idea.example to .idea (optional), if you wish to quickly pre-configure PHPStorm.

  3. Copy .env.example to .env, and change relevant configuration if necessary.

  4. Install dependencies with Composer.

    docker-compose run composer install
    

    Alternatively, use PHPStorm to install dependencies (requires step 2).

  5. Bring up the environment.

    docker-compose up
    
  6. 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