FIX: fix installer
This commit is contained in:
@@ -42,7 +42,7 @@ class ContentPage extends Controller
|
||||
/**
|
||||
* Method used for rendering page for visitor
|
||||
*
|
||||
* @param Content $page
|
||||
* @param ContentModel $page
|
||||
*
|
||||
* @return mixed
|
||||
* @throws \Exception
|
||||
|
||||
+2
-4
@@ -270,12 +270,9 @@ if [ ! -e $ADMIN_CREATED_FILE ]; then
|
||||
read EMAIL
|
||||
echo ""
|
||||
|
||||
echo "Password: "
|
||||
read PASSWORD
|
||||
echo ""
|
||||
|
||||
# install new user
|
||||
php artisan user:new $EMAIL $PASSWORD admin
|
||||
php artisan user:new $EMAIL
|
||||
|
||||
echo $EMAIL > $ADMIN_CREATED_FILE
|
||||
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"
|
||||
|
||||
npm install
|
||||
bower install
|
||||
gulp --production
|
||||
Reference in New Issue
Block a user