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.
 
 
 
 
 
 

15 lines
574 B

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