feat: add script to launch Image Studio with local ComfyUI server
This commit is contained in:
14
README.md
14
README.md
@@ -36,6 +36,19 @@ Start the development server:
|
||||
bun dev
|
||||
```
|
||||
|
||||
To start Image Studio together with the local headless ComfyUI server:
|
||||
|
||||
```bash
|
||||
bun run dev:full
|
||||
```
|
||||
|
||||
The combined launcher reuses a ComfyUI server already listening at
|
||||
`http://127.0.0.1:8188`. Otherwise, it starts the existing local ComfyUI
|
||||
installation and stops that process when Image Studio exits. Its paths and
|
||||
address can be overridden with the `COMFYUI_BASE_DIR`, `COMFYUI_SOURCE_DIR`,
|
||||
`COMFYUI_PYTHON`, `COMFYUI_MODEL_PATHS_CONFIG`, `COMFYUI_HOST`, and
|
||||
`COMFYUI_PORT` environment variables.
|
||||
|
||||
Build for production:
|
||||
|
||||
```bash
|
||||
@@ -53,6 +66,7 @@ bun start
|
||||
| Command | Description |
|
||||
| --- | --- |
|
||||
| `bun dev` | Start the app with Bun hot reload |
|
||||
| `bun run dev:full` | Start the app and local headless ComfyUI server |
|
||||
| `bun run build` | Build the production bundle |
|
||||
| `bun start` | Run the production server |
|
||||
| `bun test` | Run tests |
|
||||
|
||||
Reference in New Issue
Block a user