mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 07:45:01 +02:00
Initial commit of the new micromamba-based installer; This should work seamlessly for new and existing users; Also allows the installer to run on mac (but the installation will fail because the mac-specific environment.yaml hasn't been added yet)
This commit is contained in:
@ -1,10 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
source installer/bin/activate
|
||||
# set legacy installer's PATH, if it exists
|
||||
if [ -e "installer" ]; then export PATH="$(pwd)/installer/bin:$PATH"; fi
|
||||
|
||||
conda-unpack
|
||||
# Setup the packages required for the installer
|
||||
scripts/bootstrap.sh
|
||||
|
||||
conda --version
|
||||
# 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 python
|
||||
python --version
|
||||
|
||||
which conda
|
||||
conda --version
|
||||
|
||||
# Download the rest of the installer and UI
|
||||
scripts/on_env_start.sh
|
||||
|
Reference in New Issue
Block a user