Added Docker
This commit is contained in:
12
configuring.sh
Normal file
12
configuring.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $FIRSTRUN == "true" ]; then
|
||||
echo "FIRSTRUN true configuring db and permissions"
|
||||
cd /var/www/freezer-web-app
|
||||
chown -R www-data ./database
|
||||
php artisan migrate --force
|
||||
apache2ctl -D FOREGROUND
|
||||
else
|
||||
echo "FIRSTRUN false configuration already done"
|
||||
apache2ctl -D FOREGROUND
|
||||
fi
|
||||
Reference in New Issue
Block a user