Files
ai/justfile

38 lines
906 B
Makefile

_default:
@just --unsorted --list
# Check project
check:
bc-check
# Format project
fmt:
bc-fmt
# Perform automated fixes
fix:
bc-fix
# Install ComfyUI
setup:
#!/usr/bin/env bash
python -m venv venv-comfyui
source venv-comfyui/bin/activate
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu128
git clone git@github.com:comfyanonymous/ComfyUI.git
pip install -r ComfyUI/requirements.txt
git clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI/custom_nodes/comfyui-manager
git clone https://github.com/hayden-fr/ComfyUI-Model-Manager.git ComfyUI/custom_nodes/ComfyUI-Model-Manager
# Run ComfyUI
run:
#!/usr/bin/env bash
source venv-comfyui/bin/activate
python ComfyUI/main.py
# Run ComfyUI
run-cpu:
#!/usr/bin/env bash
source venv-comfyui/bin/activate
python ComfyUI/main.py --cpu