first commit
This commit is contained in:
15
Xboard/init.sh
Normal file
15
Xboard/init.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf composer.phar
|
||||
wget https://github.com/composer/composer/releases/latest/download/composer.phar -O composer.phar
|
||||
php composer.phar install -vvv
|
||||
git submodule update --init --recursive --force
|
||||
php artisan xboard:install
|
||||
|
||||
if [ -f "/etc/init.d/bt" ] || [ -f "/.dockerenv" ]; then
|
||||
chown -R www:www $(pwd);
|
||||
fi
|
||||
|
||||
if [ -d ".docker/.data" ]; then
|
||||
chmod -R 777 .docker/.data
|
||||
fi
|
||||
Reference in New Issue
Block a user