소스 검색

modif readme

kevin tessier 4 년 전
부모
커밋
8a63e8ad4d
1개의 변경된 파일17개의 추가작업 그리고 3개의 파일을 삭제
  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)