Skip to content

Install Guide

John-Henry Lim edited this page Oct 8, 2022 · 21 revisions

Installing the webUI/Backend

The installation is largely the same as the original AUTOMATIC1111's fork. If there are any issues, you might want to look at their wiki first before submitting an issue.

However, I appended .template to webui-user.bat and webui.sh. So first, copy webui-user.bat.template and rename it to webui-user.bat. Afterwards, fill in the values. For example:

:: copy & rename `webui-user.bat.template` to `webui-user.bat`
@echo off

:: i.e. using Python Launcher from https://www.python.org/getit/
set PYTHON=py -3.10
:: below can be left empty for most installations
set GIT=
set VENV_DIR=
:: set CLI args you like, for example:
set COMMANDLINE_ARGS= --medvram --always-batch-cond-uncond --listen

call webui.bat

Afterwards, double click webui-user.bat as per normal to run it & begin the (extremely long; be patient) installation.

Then, follow from Plugin Installation onwards. Small tip, use symlinks if you want the plugin to auto-update:

# symlink on windows
mklink /j C:\\...\pykrita\krita_diff C:\\...\auto-sd-krita\krita_plugin\krita_diff
mklink C:\\...\pykrita\krita_diff.desktop C:\\...\auto-sd-krita\krita_plugin\krita_diff.desktop

# symlink on linux
ln -rs /.../auto-sd-krita/krita_plugin/krita_diff /.../pykrita/krita_diff
ln -rs /.../auto-sd-krita/krita_plugin/krita_diff.desktop /.../pykrita/krita_diff.desktop

Clone this wiki locally