composer before npm
This commit is contained in:
@@ -16,16 +16,16 @@ if [[ ! -f /etc/first_boot ]]; then
|
||||
touch /etc/first_boot
|
||||
fi
|
||||
|
||||
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
|
||||
echo "npm install"
|
||||
npm install
|
||||
fi
|
||||
|
||||
if [[ "$BOOT_COMPOSER_INSTALL" = true ]]; then
|
||||
echo "composer install"
|
||||
composer install
|
||||
fi
|
||||
|
||||
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
|
||||
echo "npm install"
|
||||
npm install
|
||||
fi
|
||||
|
||||
if [ ! -f /var/www/html/artisan ]; then
|
||||
echo "No existing Laravel project found"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user