22 lines
558 B
Markdown
22 lines
558 B
Markdown
## run script
|
|
`$ cp install-grav.sh your/folder/install/getgrav`
|
|
|
|
`$ cd /your/folder/install/getgrav`
|
|
|
|
`$ . install-grav.sh`
|
|
|
|
## Docker
|
|
if use 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)
|