Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1842248
init.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
init.sh
View Options
#!/bin/bash
set
-e
set
-x
rsync -av
\
--exclude
=
vendor
\
--exclude
=
composer.lock
\
--exclude
=
node_modules
\
--exclude
=
"resources/build"
\
--exclude
=
"bootstrap/cache"
\
--exclude
=
".gitignore"
\
/src/kolabsrc.orig/ /src/kolabsrc
cd
/src/kolabsrc
rm -rf storage/framework
mkdir -p storage/framework/
{
sessions,views,cache
}
php -dmemory_limit
=
-1
$(
command
-v composer
)
update
/usr/local/bin/npm install
find bootstrap/cache/ -type f ! -name
".gitignore"
-delete
./artisan clear-compiled
./artisan cache:clear
./artisan horizon:install
if
[
! -f
'resources/countries.php'
]
;
then
./artisan data:countries
fi
/usr/local/bin/npm run dev
./artisan db:ping --wait
php -dmemory_limit
=
512M ./artisan migrate --force
if
test
"
$(
env
APP_DEBUG
=
false
./artisan -n users
|
wc -l
)
"
-lt
"1"
;
then
php -dmemory_limit
=
512M ./artisan db:seed
fi
./artisan data:import
||
:
nohup ./artisan horizon >/dev/null
2
>
&
1
&
./artisan octane:start --host
=
$(
grep OCTANE_HTTP_HOST .env
|
tail -n1
|
sed
"s/OCTANE_HTTP_HOST=//"
)
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Aug 25, 9:09 PM (14 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
228792
Default Alt Text
init.sh (1 KB)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment