Commit Graph

10 Commits

Author SHA1 Message Date
JSTayco
9a9976bb1c Move env_var_exist first usage after the function is defined 2023-03-29 11:11:10 -07:00
JSTayco
9257f1dd05 Merge branch 'consolidated_install_scripts' of https://github.com/jstayco/kohya_ss into consolidated_install_scripts 2023-03-29 10:53:21 -07:00
JSTayco
20c525bd59 Enable more arbitrary install locations
Default to master branch (user can override with an argument), update the repo if we find a git folder but no venv folder (indicating blank env), rename BASE_DIR to PARENT_DIR to be more obvious, enable PARENT_DIR to account for an arbitrary amount of folders.
2023-03-29 10:53:15 -07:00
jstayco
981f634c31
Removed superfluous comment 2023-03-29 09:55:04 -07:00
JSTayco
0b5a418b39 More options, better var handlng.
Changed runpod detection to a variable to simplify maintenance and provide a mechanism for the user to force a runpod installation. Also, updated help message to acount for the change.
2023-03-29 00:47:03 -07:00
JSTayco
307c433254 The runpod update!
Script now accepts long and short arguments. Script should now help with a runpod environment and ensure apt cache is updated before package install attempt.
2023-03-28 18:07:18 -07:00
JSTayco
51e843fe2e Update setup.sh
Fixed install commands to not require user input.
2023-03-28 16:02:20 -07:00
JSTayco
8bf3ecfd1f Update setup.sh
Linux distribution detection is much more robust. We also now include the Linux distribution family. That should help downstream Linux distributions as well. For example, Manjaro will now be detected as arch and Mint Linux will be detected as Ubuntu.
2023-03-28 15:52:16 -07:00
jstayco
8168e36326
Update setup.sh
Small comment added to clarify the purpose of the script for casual viewers.
2023-03-27 18:58:03 -07:00
Vertana
4277645b2a Consolidated Install Scripts and Improve README
Install scripts have been consolidated for every non-Windows OS. Python Requirements were consolidated. README improved to work locally and provide more information.
2023-03-27 12:37:00 -07:00