Derur's picture
Upload 10 files
6f57a7b verified
|
raw
history blame
3.34 kB

reforgePortable

Experimenting to build a portable version of stable-diffusion-webui-reForge
This version uses the third-party WinPython portable version, which is recommended at various places and includes more stuff than the official portable version. Maybe this provides more tools for installing additional extensions, and it has a negligibly larger footprint than the official version. There is an even larger WinPython version, but I don't know what the differences are so we will go with the smaller one.


Prerequisites

Microsoft Visual C++ 2015 Redistributable
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Microsoft Visual C++ 2015-2022 Redistributable
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022


Prepare folders

  1. Create folder C:\SD\reforge-portable
  2. Create subfolder C:\SD\reforge-portable\system
  3. Create subfolder C:\SD\reforge-portable\system\git
  4. Create subfolder C:\SD\reforge-portable\system\python

folder-2


Install Git portable

Browse to https://git-scm.com/downloads/win and download "64-bit Git for Windows Portable" git-download-1

Execute downloaded exe file and extract to C:\SD\reforge-portable\system\git git-install-1


Install WinPython

Browse to https://github.com/winpython/winpython/releases/tag/6.1.20230527 and download "Winpython64-3.10.11.1dot.exe" winpython-download-1

Run the downloaded executable and extract to a temporary directory. Select all files from "winpython\WPy64-310111\python-3.10.11.amd64" winpython-install-2

and copy them to "C:\SD\reforge-portable\system\python" winpython-install-3


Get run scripts

Copy these three files into C:\SD\reforge-portable
webui-install-1


Git clone reForge

Open cmd.exe in C:\SD\reforge-portable.

  1. Run environment.bat
  2. Run git clone https://github.com/Panchovix/stable-diffusion-webui-reForge webui

webui-install-2


First-run

Run run.bat. This should now start the normal reForge requirements installations which may take quite a while
webui-install-3

If everything goes well the webUI page will open after everything is complete.