-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sh
43 lines (28 loc) · 1.21 KB
/
init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
echo -e "EEEEEEE lll "
echo -e "EE aa aa sss yy yy pp pp aa aa nn nnn eee lll "
echo -e "EEEEE aa aaa s yy yy ppp pp aa aaa nnn nn ee e lll "
echo -e "EE aa aaa sss yyyyyy pppppp aa aaa nn nn eeeee lll "
echo -e "EEEEEEE aaa aa s yy pp aaa aa nn nn eeeee lll "
echo -e " sss yyyyy pp "
echo -e " "
sleep 5
echo -e "[INFO] Getting Ready"
sleep 5
echo -e "[INFO] Initializing App"
echo -e "[INFO] Install Composer Packages"
composer install --no-interaction --optimize-autoloader --no-dev
echo -e "[INFO] Clearing Config Cache"
php artisan config:cache
echo -e "[INFO] Clearing Route Cache"
php artisan route:cache
echo -e "[INFO] Clearing View Cache"
php artisan view:clear
echo -e "[INFO] Migrating Database"
php artisan migrate --no-interaction --force
echo -e "[INFO] Run NPM CI"
npm ci
echo -e "[INFO] Run NPM Production"
npm run production
echo -e "[INFO] To Finish Setup, Run php artisan roadmap:install and type yes for everything"
echo -e "[INFO] Running On Port 9000"