-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a script to simplify installing + running the launcher with the…
… manual setup
- Loading branch information
thecooltechguy
committed
Feb 26, 2024
1 parent
7d28b2c
commit d79f0d8
Showing
2 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# check if a venv/ directory exists | ||
# if it doesn't, run: python3 -m venv venv | ||
# then run: source venv/bin/activate && pip install -r requirements.txt | ||
if [ ! -d "venv" ]; then | ||
echo "Creating virtual environment for ComfyUI Launcher...\n\n" | ||
python3 -m venv venv | ||
echo "\n\n" | ||
fi | ||
|
||
echo "Installing required packages...\n\n" | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
|
||
echo "\n\n" | ||
echo "ComfyUI Launcher is starting...\n\n" | ||
|
||
cd server/ && python server.py |