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
Clone Directory Lister to a local repository
git clone {{ REPOSITORY_URL }}Switch to the Directory Lister directory
cd /path/to/DirectoryListerInstall and build PHP and JavaScript dependencies
composer install npm install npm run devRun the local Docker container
docker-compose up -dAdd 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.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
Perform static analysis
Generate code coverage report
Last updated
Was this helpful?