diff --git a/deploy-agenx-lora.sh b/deploy-agenx-lora.sh new file mode 100755 index 0000000..4d7d910 --- /dev/null +++ b/deploy-agenx-lora.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# Deploy agenx-lora-training to /opt/loras/agenx-lora-training +# Run this on the GPU server after scp'ing it there + +set -e + +REPO_DIR="/opt/loras/agenx-lora-training" +REPO_URL="https://gitea.cyaren.com/cmedina/agenx-lora-training.git" + +echo "=== Deploying agenx-lora-training ===" +echo "Cloning to: ${REPO_DIR}" +echo "" + +# Clone repo +git clone "${REPO_URL}" "${REPO_DIR}" + +echo "" +echo "=== Done ===" +echo "Repository is at: ${REPO_DIR}" +echo "" +echo "Next steps:" +echo " cd ${REPO_DIR}" +echo " bash train-on-this-server.sh"