install-grav.sh 991 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/bash
  2. echo ">>>>>> install getgrav in src/ <<<<<<<<"
  3. composer create-project getgrav/grav ./
  4. echo ">>>>>> install getgrav Finish <<<<<<<<"
  5. echo ">>>>>> Install plugin <<<<<<<<"
  6. echo ">>>>>> Install admin <<<<<<<<"
  7. bin/gpm install admin
  8. echo ">>>>>> Install user-manager <<<<<<<<"
  9. bin/gpm install admin-addon-user-manager
  10. echo ">>>>>> Install taxonomylist <<<<<<<<"
  11. bin/gpm install taxonomylist
  12. echo ">>>>>> Install minify-html <<<<<<<<"
  13. bin/gpm install minify-html
  14. echo ">>>>>> Install sitemap <<<<<<<<"
  15. bin/gpm install sitemap
  16. echo ">>>>>> Install aura <<<<<<<<"
  17. bin/gpm install aura
  18. echo ">>>>>> Install plugin Finish <<<<<<<<"
  19. echo ">>>>>> chown -R 1000:www-data <<<<<<<<"
  20. chown -R 1000:www-data /var/www/html/
  21. find /var/www/html/ -type f | xargs chmod 664
  22. find /var/www/html/bin -type f | xargs chmod 775
  23. find /var/www/html/ -type d | xargs chmod 775
  24. find /var/www/html/ -type d | xargs chmod +s
  25. echo ">>>>>> Install complete Finish <<<<<<<<"