mirror of
https://github.com/tcsenpai/sdnext_docker.git
synced 2025-06-04 10:20:11 +00:00
19 lines
407 B
Bash
19 lines
407 B
Bash
#!/bin/bash
|
|
|
|
# If a file named "pre_run.sh" exists, run it
|
|
if [ -f "pre_run.sh" ]; then
|
|
./pre_run.sh
|
|
fi
|
|
|
|
# If no folder named automatic, clone the repository
|
|
if [ ! -d "automatic_repo" ]; then
|
|
git clone https://github.com/vladmandic/automatic automatic_repo
|
|
cd automatic_repo
|
|
else
|
|
cd automatic_repo
|
|
git pull
|
|
fi
|
|
|
|
|
|
#pip install -r requirements.txt
|
|
bash webui.sh --debug --insecure --listen |