Spaces:
Runtime error
Runtime error
atikur-rabbi
commited on
Commit
•
55717ed
1
Parent(s):
f38adbe
Delete start.sh
Browse files
start.sh
DELETED
@@ -1,41 +0,0 @@
|
|
1 |
-
#!/bin/bash
|
2 |
-
|
3 |
-
cd "$(dirname "${BASH_SOURCE[0]}")"
|
4 |
-
|
5 |
-
if [ -f "on_sd_start.bat" ]; then
|
6 |
-
echo ================================================================================
|
7 |
-
echo
|
8 |
-
echo !!!! WARNING !!!!
|
9 |
-
echo
|
10 |
-
echo It looks like you\'re trying to run the installation script from a source code
|
11 |
-
echo download. This will not work.
|
12 |
-
echo
|
13 |
-
echo Recommended: Please close this window and download the installer from
|
14 |
-
echo https://stable-diffusion-ui.github.io/docs/installation/
|
15 |
-
echo
|
16 |
-
echo ================================================================================
|
17 |
-
echo
|
18 |
-
read
|
19 |
-
exit 1
|
20 |
-
fi
|
21 |
-
|
22 |
-
|
23 |
-
# set legacy installer's PATH, if it exists
|
24 |
-
if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi
|
25 |
-
|
26 |
-
# Setup the packages required for the installer
|
27 |
-
scripts/bootstrap.sh || exit 1
|
28 |
-
|
29 |
-
# set new installer's PATH, if it downloaded any packages
|
30 |
-
if [ -e "installer_files/env" ]; then export PATH="$(pwd)/installer_files/env/bin:$PATH"; fi
|
31 |
-
|
32 |
-
# Test the bootstrap
|
33 |
-
which git
|
34 |
-
git --version || exit 1
|
35 |
-
|
36 |
-
which conda
|
37 |
-
conda --version || exit 1
|
38 |
-
|
39 |
-
# Download the rest of the installer and UI
|
40 |
-
chmod +x scripts/*.sh
|
41 |
-
scripts/on_env_start.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|