MCPcopy Create free account
hub / github.com/ComfyWorkflows/ComfyUI-Launcher / install_default_custom_nodes

Function install_default_custom_nodes

server/utils.py:160–177  ·  view source on GitHub ↗
(project_folder_path, launcher_json=None)

Source from the content-addressed store, hash-verified

158
159
160def install_default_custom_nodes(project_folder_path, launcher_json=None):
161 # install default custom nodes
162 # comfyui-manager
163 run_command(["git", "clone", f"https://github.com/ltdrdata/ComfyUI-Manager", os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-Manager')])
164
165 # pip install comfyui-manager
166 run_command_in_project_venv(
167 project_folder_path,
168 f"pip install -r {os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-Manager', 'requirements.txt')}",
169 )
170
171 run_command(["git", "clone", f"https://github.com/thecooltechguy/ComfyUI-ComfyWorkflows", os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-ComfyWorkflows')])
172
173 # pip install comfyui-comfyworkflows
174 run_command_in_project_venv(
175 project_folder_path,
176 f"pip install -r {os.path.join(project_folder_path, 'comfyui', 'custom_nodes', 'ComfyUI-ComfyWorkflows', 'requirements.txt')}",
177 )
178
179def setup_initial_models_folder(models_folder_path):
180 assert not os.path.exists(

Callers 1

create_comfyui_projectFunction · 0.90

Calls 2

run_commandFunction · 0.85

Tested by

no test coverage detected