Browse Source

modif readme

kevin tessier 5 years ago
parent
commit
8a63e8ad4d
1 changed files with 17 additions and 3 deletions
  1. 17 3
      README.md

+ 17 - 3
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)