NPM
These instructions are for setting up a local DEVELOPMENT environment. If you are looking for basic installation instruction see the Installation page instead.
Clone your fork to a local repository
git clone {{ YOUR_REPOSITORY_URL }}
Switch to the Directory Lister directory
cd /path/to/DirectoryLister
Install and build PHP and JavaScript dependencies
composer installnpm install && npm run dev
Create the Docker development
network
docker network create development
Create the Docker development proxy
docker run -d -p 80:80 --network development --restart unless-stopped --volume /var/run/docker.sock:/tmp/docker.sock:ro --name dev-proxy jwilder/nginx-proxy
Add the following entry to /etc/hosts
:
127.0.0.1 directory-lister.local
Run the local Docker container
docker-compose up -d
You should now be able to access your local Directory Lister installation at http://directory-lister.local