Submodule support for Linux

Adds submodule support for docker and colab, also enables updating again by default. We manually disable this for official releases.
This commit is contained in:
Henk
2022-12-21 03:48:14 +01:00
parent 2a949cbe2a
commit 9b4f434d33
2 changed files with 4 additions and 2 deletions

View File

@@ -136,6 +136,8 @@ if [ "$init" != "skip" ]; then
git reset --hard origin/$(git_default_branch)
fi
git submodule update --init --recursive
cd /content/KoboldAI-Client
cp -rn stories/* /content/drive/MyDrive/KoboldAI/stories/

View File

@@ -1,7 +1,7 @@
#!/bin/bash
cd /opt/koboldai
git pull
#./install_requirements.sh cuda
git pull --recurse-submodules && ./install_requirements.sh cuda
if [[ ! -v KOBOLDAI_DATADIR ]];then
mkdir /content