Development Environment
Requirements
NPM for front end asset serving and bundling
Docker and Docker Compose for running the local development container
Git for version control
Instructions
These instructions are for setting up a local DEVELOPMENT environment. If you are looking for basic installation instruction see the Installation page instead.
Switch to the Directory Lister directory
Install and build PHP and JavaScript dependencies
Run the local Docker container
Add a host name entry to
/etc/hosts
(optional)
You should now be able to access your local Directory Lister installation at http://localhost
(or http://directory-lister.local 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
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
Code coverage requires a code coverage engine (e.g. xdebug pr pcov) to run.
Last updated
Was this helpful?