FIX: minor fixes in installation

This commit is contained in:
Michal Kváček
2016-09-20 23:25:45 +02:00
parent 67cd7fb36f
commit 01a28fc65a
4 changed files with 19 additions and 12 deletions
+5 -5
View File
@@ -207,8 +207,8 @@ if [ ! -e $DB_INITIALIZED_FILE ]; then
composer install
fi
php artisan migrate &&
php artisan db:seed &&
php artisan migrate --force -n &&
php artisan db:seed --force -n &&
touch $DB_INITIALIZED_FILE
if [ ! $? -eq 0 ]; then
@@ -246,11 +246,11 @@ if [ ! -e $THEME_SET_FILE ]; then
done
# setup theme
php artisan template:set $THEME_NAME
php artisan template:set $THEME_NAME no-publish
php artisan vendor:publish --tag=module-views --force -n
php artisan vendor:publish --tag=public-assets --force -n
php artisan vendor:publish
# php artisan vendor:publish --tag=module-views --force -n
# php artisan vendor:publish --tag=public-assets --force -n
# setup permissions on published directories
chmod 0777 public -R