1
0
mirror of https://github.com/deStrO/eBot-docker.git synced 2025-12-10 03:22:49 +01:00
eBot-docker/ebotweb/setup.sh
2023-10-13 12:11:40 +02:00

33 lines
588 B
Bash

#!/bin/bash
# Check if the .installed file exists
if [ ! -f .installed ]; then
git config --global http.sslverify false
git clone https://github.com/deStrO/eBot-CSGO-Web.git temp
cp -n -R temp/* eBot-CSGO-Web && rm -rf temp
cd eBot-CSGO-Web
sleep 30
php symfony cc
php symfony doctrine:build --all --no-confirmation
php symfony guard:create-user --is-super-admin admin@ebot admin admin
rm -rf web/installation
cd ..
touch .installed
php-fpm
else
echo "eBot Web is already installed. Skipping setup."
php-fpm
fi