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)