feat: update README with standalone mode instructions and add settings.json.example file

This commit is contained in:
Will Miao
2025-04-26 20:39:24 +08:00
parent 5159657ae5
commit c551f5c23b
2 changed files with 37 additions and 6 deletions

View File

@@ -177,14 +177,24 @@ pip install -r requirements.txt
You can now run LoRA Manager independently from ComfyUI:
1. **First-time setup**: Launch ComfyUI with LoRA Manager at least once to initialize the necessary path information in the `settings.json` file.
2. **Launch standalone mode**: From your ComfyUI root directory, run:
```bash
python custom_nodes\comfyui-lora-manager\standalone.py
```
1. **For ComfyUI users**:
- Launch ComfyUI with LoRA Manager at least once to initialize the necessary path information in the `settings.json` file.
- From your ComfyUI root directory, run:
```bash
python custom_nodes\comfyui-lora-manager\standalone.py
```
2. **For non-ComfyUI users**:
- Copy the provided `settings.json.example` file to create a new file named `settings.json`
- Edit `settings.json` to include your correct model folder paths and CivitAI API key
- Run standalone mode:
```bash
python standalone.py
```
3. Access the interface through your browser as usual.
This standalone mode provides a lighter-weight option for managing your model and recipe collection without needing to run the full ComfyUI environment.
This standalone mode provides a lightweight option for managing your model and recipe collection without needing to run the full ComfyUI environment, making it useful even for users who primarily use other stable diffusion interfaces.
---

21
settings.json.example Normal file
View File

@@ -0,0 +1,21 @@
{
"civitai_api_key": "your_civitai_api_key_here",
"show_only_sfw": false,
"folder_paths": {
"loras": [
"C:/path/to/your/loras_folder",
"C:/path/to/another/loras_folder"
],
"checkpoints": [
"C:/path/to/your/checkpoints_folder",
"C:/path/to/another/checkpoints_folder"
],
"diffusers": [
"C:/path/to/your/diffusers_folder"
],
"unet": [
"C:/path/to/your/unet_folder",
"C:/path/to/your/diffusion_models_folder"
]
}
}