moved video lxcs onto separate image

This commit is contained in:
Beth Parker 2019-07-02 11:37:20 -05:00
parent ac1bd07c6f
commit 756f7b1944
2 changed files with 6 additions and 2 deletions

View file

@ -7,4 +7,7 @@ mount:
user: mount
ext4:
/mnt/emby:
device: UUID=e1e56368-5771-4b6c-a70c-ce23dde1681c
device: UUID=e1e56368-5771-4b6c-a70c-ce23dde1681c
ext4:
/mnt/lxc:
device: UUID=a11c4225-bf55-4888-ab15-589afde95510

View file

@ -13,12 +13,13 @@ echo " <a href='$branch/public'>$branch<br/>" >> /sites/{{project}}/index.php
git clone -b $branch {{repo}} "$branch"
chown http:http -R "$branch"
cd "$branch"
su -s /bin/bash http -c "composer install"
cp .env.example .env
mysql -u root -e "DROP DATABASE laradev_{{project}}_$branch"
mysql -u root -e "CREATE DATABASE laradev_{{project}}_$branch"
mysql -u root -e "GRANT ALL ON laradev_{{project}}_$branch.* TO laradev@localhost"
sed -i "s/DB_DATABASE=homestead/DB_DATABASE=laradev_{{project}}_$branch/" .env
sed -i "s/DB_USERNAME=homestead/DB_USERNAME=laradev/" .env
su -s /bin/bash http -c "composer install"
php artisan key:generate
php artisan migrate
php artisan db:seed