mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
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:
@@ -136,6 +136,8 @@ if [ "$init" != "skip" ]; then
|
|||||||
git reset --hard origin/$(git_default_branch)
|
git reset --hard origin/$(git_default_branch)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
cd /content/KoboldAI-Client
|
cd /content/KoboldAI-Client
|
||||||
|
|
||||||
cp -rn stories/* /content/drive/MyDrive/KoboldAI/stories/
|
cp -rn stories/* /content/drive/MyDrive/KoboldAI/stories/
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd /opt/koboldai
|
cd /opt/koboldai
|
||||||
git pull
|
|
||||||
#./install_requirements.sh cuda
|
git pull --recurse-submodules && ./install_requirements.sh cuda
|
||||||
|
|
||||||
if [[ ! -v KOBOLDAI_DATADIR ]];then
|
if [[ ! -v KOBOLDAI_DATADIR ]];then
|
||||||
mkdir /content
|
mkdir /content
|
||||||
|
Reference in New Issue
Block a user