diff --git a/README.md b/README.md index 6ed7d61149032a79d43ade5e1459ed6f5806ed32..b445183f7a96557d9aa1c5c38d529818f4d42407 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,13 @@ -### ecommerce-prestashop-data -Docker data container for prestashop +# ecommerce-woocommerce-data -#### How to run this +Docker data container for woocommerce. +Contains wordpress + woocommerce installation script. -```bash +This image is hosted on dockerhub and should be run with docker-compose together with repos below: -docker run -e PS_VERSION=1.6.1.3 ikamman/ecommerce-prestashop-data +#### docker-compose specification file and start script +https://github.com/SeamlessDistribution/woocommerce-seqr-payment-gateway-docker -``` +#### Seqr payment plugin +https://github.com/SeamlessDistribution/woocommerce-seqr-payment-gateway -##### Mounting /var/www/html to the local machine - -```bash - -docker run docker run -e PS_VERSION=1.6.1.3 -v /home/user/html:/var/www/html ikamman/ecommerce-prestashop-data - -``` - -##### Mounting only plugin directory to the local machine - -```bash - -docker run docker run -e PS_VERSION=1.6.1.3 -e PLUGIN_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 - -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.