forked from extern/easydiffusion
.github
media
scripts
Developer Console.cmd
Start Stable Diffusion UI.cmd
bootstrap.bat
bootstrap.sh
developer_console.sh
on_env_start.bat
on_env_start.sh
on_sd_start.bat
on_sd_start.sh
post_activate.bat
post_activate.sh
start.sh
win_enable_long_filepaths.ps1
ui
.gitignore
CONTRIBUTING.md
CreativeML Open RAIL-M License
How to install and run.txt
LICENSE
README BEFORE YOU RUN THIS.txt
README.md
Troubleshooting.md
build.bat
build.sh
environment.yaml
changes to the directory containing `start.sh` prior to activating the conda environment this allows you to run the program without first changing to the correct directory, eg: `$ ~/bin/stable-diffusion-ui/start.sh`
23 lines
533 B
Bash
Executable File
23 lines
533 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
# set legacy installer's PATH, if it exists
|
|
if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi
|
|
|
|
# Setup the packages required for the installer
|
|
scripts/bootstrap.sh
|
|
|
|
# set new installer's PATH, if it downloaded any packages
|
|
if [ -e "installer_files/env" ]; then export PATH="$(pwd)/installer_files/env/bin:$PATH"; fi
|
|
|
|
# Test the bootstrap
|
|
which git
|
|
git --version
|
|
|
|
which conda
|
|
conda --version
|
|
|
|
# Download the rest of the installer and UI
|
|
scripts/on_env_start.sh
|