#!/usr/bin/env bash
cd /var/www/
rm -rf html/
cp -rf release/ html
chmod 755 html
cd /var/www/html/
sudo /usr/local/bin/composer install
chown -R www-data.www-data /var/www/html/
service apache2 restart