This repo is created for the SplendidBear Websites' portfolio. https://www.splendidbear.org
website
symfony
sonata
portfolio

deploy.sh 597B

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