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