githubEdit

laptop-codeDevelopment Environment

Requirements

Instructions

circle-info

These instructions are for setting up a local DEVELOPMENT environment. If you are looking for basic installation instruction see the Installation page instead.

  1. Switch to the Directory Lister directory

    cd /path/to/DirectoryLister
  2. Install and build PHP and JavaScript dependencies

    composer install
    npm install
    npm run dev
  3. Run the local Docker container

    docker-compose up -d
  4. Add a host name entry to /etc/hosts (optional)

    127.0.0.1  directory-lister.local

You should now be able to access your local Directory Lister installation at http://localhost (or http://directory-lister.localarrow-up-right if you added a host name entry)

Common Development Commands

Many common development actions have been defined in the Makefile and can be run with make command.

Clear the application cache

Build dependencies and assets (for production)

Clear built assets

Run test suite

Check or fix coding standards

circle-info

This will apply coding standard fixes will be automatically. See the Compor or Manual tab to report coding standard problems without modifying files.

Perform static analysis

Generate code coverage report

circle-info

Code coverage requires a code coverage engine (e.g. xdebug pr pcov) to run.

Last updated

Was this helpful?