add venv install scripts

update DB
This commit is contained in:
Dr.Lt.Data 2023-07-19 18:33:53 +09:00
parent 8410e02c02
commit 37dc766d6e
5 changed files with 56 additions and 4 deletions

View File

@ -1,11 +1,28 @@
# ComfyUI Manager
# Installation
# Installation[method1] (ComfyUI-Manager only)
To install ComfyUI-Manager in addition to an existing installation of ComfyUI, you can follow the following steps:
1. cd custom_nodes
2. git clone https://github.com/ltdrdata/ComfyUI-Manager.git
3. Restart ComfyUI
# Installation[method2] (ComfyUI + ComfyUI-Manager on linux+venv)
To install ComfyUI with ComfyUI-Manager on Linux using a venv environment, you can follow these steps:
1. Download [scripts/install-comfyui-venv-linux.sh](https://github.com/ltdrdata/ComfyUI-Manager/raw/main/scripts/install-comfyui-venv-linux.sh) into empty install directory
- ComfyUI will be installed in the subdirectory of the specified directory, and the directory will contain the generated executable script.
2. `chmod +x install-comfyui-venv-linux.sh`
3. `./install-comfyui-venv-linux.sh`
You can execute ComfyUI by running either `./run_gpu.sh` or `./run_cpu.sh` depending on your system configuration.
# Changes
* **0.12** Better installation support for Windows.
* **0.9** Support keyword search in installer menu.
@ -62,9 +79,6 @@ NODE_CLASS_MAPPINGS.update({
})
```
# Support of missing nodes installation
![missing-menu](misc/missing-menu.png)

View File

@ -794,6 +794,16 @@
"install_type": "copy",
"description": "Nodes:Prompt Generator. Custom prompt generator node for ComfyUI."
},
{
"author": "lordgasmic",
"title": "Wildcards",
"reference": "https://github.com/lordgasmic/ComfyUI-Wildcards",
"files": [
"https://github.com/lordgasmic/ComfyUI-Wildcards/raw/master/wildcards.py"
],
"install_type": "copy",
"description": "Nodes:CLIPTextEncodeWithWildcards. This wildcard node is a wildcard node that operates based on the seed."
},
{
"author": "theally",
"title": "TheAlly's Custom Nodes",

View File

@ -557,6 +557,7 @@
"MiDaS Mask Image",
"MiDaS Model Loader",
"Model Input Switch",
"Number Counter",
"Number Input Condition",
"Number Input Switch",
"Number Multiple Of",
@ -737,6 +738,9 @@
"Random_Sampler",
"VAELoaderDecode"
],
"https://github.com/lordgasmic/ComfyUI-Wildcards/raw/master/wildcards.py": [
"CLIPTextEncodeWithWildcards"
],
"https://github.com/lrzjason/ComfyUIJasonNode/raw/main/SDXLMixSampler.py": [
"SDXLMixSampler"
],

3
scan.sh Executable file
View File

@ -0,0 +1,3 @@
source ../../venv/bin/activate
rm .tmp/*.py
python scanner.py

View File

@ -0,0 +1,21 @@
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager
cd ..
python -m venv venv
source venv/bin/activate
python -m pip install -r requirements.txt
python -m pip install -r custom_nodes/ComfyUI-Manager/requirements.txt
python -m pip install torchvision
cd ..
echo "#!/bin/bash" > run_gpu.sh
echo "cd ComfyUI" >> run_gpu.sh
echo "source venv/bin/activate" >> run_gpu.sh
echo "python main.py --preview-method auto" >> run_gpu.sh
chmod +x run_gpu.sh
echo "#!/bin/bash" > run_cpu.sh
echo "cd ComfyUI" >> run_cpu.sh
echo "source venv/bin/activate" >> run_cpu.sh
echo "python main.py --preview-method auto --cpu" >> run_cpu.sh
chmod +x run_cpu.sh