Script pour installer le CMS getgrav avec plugins
kevin tessier 4bbbbf31d0 modif readme | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
README.md | %!s(int64=5) %!d(string=hai) anos | |
install-grav.sh | %!s(int64=5) %!d(string=hai) anos |
$ cp install-grav.sh your/folder/install/getgrav
$ cd /your/folder/install/getgrav
$ . install-grav.sh
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.
This script change permissions and usergroups https://learn.getgrav.org/16/troubleshooting/permissions