2023-01-21 14:41:05 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-09-05 23:07:56 +03:00
|
|
|
echo "➜ Ignore Permission Changes"
|
|
|
|
git config core.fileMode false
|
|
|
|
|
2023-07-26 13:40:46 +03:00
|
|
|
echo "➜ Set Correct Permissions"
|
2023-07-26 13:40:24 +03:00
|
|
|
chmod -R 777 storage
|
|
|
|
|
2023-01-21 14:41:05 +03:00
|
|
|
echo "➜ Install Composer Dependencies"
|
2023-08-15 14:56:25 +03:00
|
|
|
[[ -d vendor ]] || composer install
|
2023-01-21 14:41:05 +03:00
|
|
|
|
|
|
|
echo "➜ Install NPM Dependencies"
|
2023-08-15 14:56:25 +03:00
|
|
|
[[ -d node_modules ]] || npm install
|
2023-01-21 14:41:05 +03:00
|
|
|
|
|
|
|
echo "➜ Build Project Assets"
|
2023-08-16 16:57:44 +03:00
|
|
|
[[ -d assets/vendor ]] || npx gulp compile
|
2023-01-21 14:41:05 +03:00
|
|
|
|
|
|
|
echo "➜ Listen To Incoming Requests"
|
|
|
|
php-fpm
|