From 28c8dc4bcc5eedbc92e2add76291326a30c9df63 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 10 Sep 2022 22:45:12 +0530 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7449d8a6..f1f80c00 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,8 +19,9 @@ This is in-flux, but one way to get a development environment running for editin 4) Check you can view and generate images on `localhost:9000` 5) Close the server, and edit `/projects/stable-diffusion-ui-archive/scripts/on_env_start.sh` 6) Comment out the line near the bottom that copies the `files/ui` folder, e.g. `cp -Rf sd-ui-files/ui ui` for `.sh` or `@xcopy sd-ui-files\ui ui /s /i /Y` for `.bat` -7) Delete the current `ui` folder at `/projects/stable-diffusion-ui-archive/ui` -8) Now make a symlink between the repository clone (where you will be making changes) and this archive (where you will be running stable diffusion): +7) Comment out the line at the top of `/projects/stable-diffusion-ui-archive/scripts/on_sd_start.sh` that copies `on_env_start`. For e.g. `@copy sd-ui-files\scripts\on_env_start.bat scripts\ /Y` +8) Delete the current `ui` folder at `/projects/stable-diffusion-ui-archive/ui` +9) Now make a symlink between the repository clone (where you will be making changes) and this archive (where you will be running stable diffusion): `ln -s /projects/stable-diffusion-ui-repo/ui /projects/stable-diffusion-ui-archive/ui` or for Windows `mklink /D \projects\stable-diffusion-ui-archive\ui \projects\stable-diffusion-ui-repo\ui` (link name first, source repo dir second)