From 8a63e8ad4d82a2872d392f1a72d3f2518a463cab Mon Sep 17 00:00:00 2001 From: kevin tessier Date: Fri, 11 Oct 2019 15:14:58 +0200 Subject: [PATCH] modif readme --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3cf6e08..7416a57 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,18 @@ -##run script +## run script +`$ cp install-grav.sh your/folder/install/getgrav` +`$ cd /your/folder/install/getgrav` +`$ . install-grav.sh` -'cd /yourgrav' -'$ . install-grav.sh' +## Docker +if user docker, put this script into Docker/php folder. + +Add in Dockerfile : + +`COPY ./install-grav.sh /var/www/install-grav.sh +RUN chmod ugo+x /var/www/install-grav.sh` + +And build/run your docker, connect to your php docker and run this script. + +## Warning +This script change permissions and usergroups +[https://learn.getgrav.org/16/troubleshooting/permissions](https://learn.getgrav.org/16/troubleshooting/permissions)