This repo is created for the SplendidBear Websites' portfolio. https://www.splendidbear.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
574B

  1. #!/bin/bash
  2. #
  3. # DO NOT RUN IT W/ ROOT!!!!!!!!!!!!!!!!
  4. #
  5. rm -rf ../+prod/splendidbear/{assets,bin,config,public,src,templates,translations,vendor,composer.*,package.json,symfony.lock,webpack.config.js,yarn.lock}
  6. cp -r {assets,bin,config,public,src,templates,translations,vendor,composer.*,package.json,symfony.lock,webpack.config.js,yarn.lock,.htpasswd} ../+prod/splendidbear/
  7. sudo setfacl -R -m u:www-data:rwx -m u:system7:rwx public/upload
  8. sudo setfacl -dR -m u:www-data:rwx -m u:system7:rwx public/upload
  9. cd ../+prod/splendidbear
  10. bash install.sh
  11. cd ../../splendidbear