FIX: fix installer

This commit is contained in:
Michal Kváček
2017-02-22 02:33:43 +01:00
parent c64f825886
commit 5132278ee1
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class ContentPage extends Controller
/** /**
* Method used for rendering page for visitor * Method used for rendering page for visitor
* *
* @param Content $page * @param ContentModel $page
* *
* @return mixed * @return mixed
* @throws \Exception * @throws \Exception
+2 -4
View File
@@ -270,12 +270,9 @@ if [ ! -e $ADMIN_CREATED_FILE ]; then
read EMAIL read EMAIL
echo "" echo ""
echo "Password: "
read PASSWORD
echo ""
# install new user # install new user
php artisan user:new $EMAIL $PASSWORD admin php artisan user:new $EMAIL
echo $EMAIL > $ADMIN_CREATED_FILE echo $EMAIL > $ADMIN_CREATED_FILE
fi fi
@@ -310,4 +307,5 @@ echo "Do not forget to install desired modules!"
echo " Use php artisan install-module <ModuleName> or php artisan install-all-modules" echo " Use php artisan install-module <ModuleName> or php artisan install-all-modules"
npm install npm install
bower install
gulp --production gulp --production