Browse Source

first commit

kevin tessier 5 months ago
commit
be5002051c
1 changed files with 38 additions and 0 deletions
  1. 38 0
      install-grav.sh

+ 38 - 0
install-grav.sh

@@ -0,0 +1,38 @@
+#!/bin/bash
+
+echo ">>>>>> install getgrav in src/ <<<<<<<<"
+composer create-project getgrav/grav ./
+
+echo ">>>>>> install getgrav Finish <<<<<<<<"
+
+echo ">>>>>> Install plugin <<<<<<<<"
+
+  echo ">>>>>> Install admin <<<<<<<<"
+  bin/gpm install admin
+
+  echo ">>>>>> Install user-manager <<<<<<<<"
+  bin/gpm install admin-addon-user-manager
+
+  echo ">>>>>> Install taxonomylist <<<<<<<<"
+  bin/gpm install taxonomylist
+
+  echo ">>>>>> Install minify-html <<<<<<<<"
+  bin/gpm install minify-html
+
+  echo ">>>>>> Install sitemap <<<<<<<<"
+  bin/gpm install sitemap
+
+  echo ">>>>>> Install aura <<<<<<<<"
+  bin/gpm install aura
+
+echo ">>>>>> Install plugin Finish <<<<<<<<"
+
+echo ">>>>>> chown -R 1000:www-data  <<<<<<<<"
+
+chown -R 1000:www-data /var/www/html/
+find /var/www/html/ -type f | xargs chmod 664
+find /var/www/html/bin -type f | xargs chmod 775
+find /var/www/html/ -type d | xargs chmod 775
+find /var/www/html/ -type d | xargs chmod +s
+
+echo ">>>>>> Install complete Finish <<<<<<<<"