Mapping local plugin dev directory to the Prestashop data container.
```bash
export DEV_DIR /home/yourhome/path/to/seqr/plugin
docker-compose up -d
docker run -ePS_VERSION=1.6.1.3 ikamman/ecommerce-prestashop-data
```
Your Prestashop site will be available on the **8080** port.
### Mounting /var/www/html to the local machine
## Available ports
* 8080: Prestashop site
* 3306: mysql database
* 9000: Xdebug extension for PHP debugging
```bash
## Prestashopdatabase
docker run docker run -ePS_VERSION=1.6.1.3 -v /home/user/html:/var/www/html ikamman/ecommerce-prestashop-data
username: **root**
```
### Mounting only plugin directory to the local machine
```bash
docker run docker run -ePS_VERSION=1.6.1.3 -ePLUGIN_NAME=new_plugin -v /home/user/local_plugin:/var/www/html/new_plugin ikamman/ecommerce-prestashop-data
```
Please make sure that your **PLUGIN_NAME** match the destination directory name of the volume mounting
## Directory permissions
password:
The www-data is an owner/group of the /var/www/html container directory. If you're mounting this directory to the local file system make sure your www-data user/group exists in your system. The alternative is to grant access to ALL users on your local directory. This will allow the container process to write to it.