FIX: fix installer
This commit is contained in:
@@ -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
@@ -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
|
||||||
Reference in New Issue
Block a user