From 57a4fe3edc352fb71080800ecc07c1148c488982 Mon Sep 17 00:00:00 2001 From: Patrick_Pluto Date: Wed, 9 Oct 2024 12:01:07 +0200 Subject: [PATCH] fixes --- deployment_scripts/linux/prepare-free.sh | 1 + deployment_scripts/linux/prepare-nonfree.sh | 3 ++- deployment_scripts/linux/root.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deployment_scripts/linux/prepare-free.sh b/deployment_scripts/linux/prepare-free.sh index 0d908bb..c560c6a 100644 --- a/deployment_scripts/linux/prepare-free.sh +++ b/deployment_scripts/linux/prepare-free.sh @@ -18,4 +18,5 @@ ollama pull wizard-math ollama pull starcoder2:7b ollama pull llama3.1 +cd .. chmod +x run.sh \ No newline at end of file diff --git a/deployment_scripts/linux/prepare-nonfree.sh b/deployment_scripts/linux/prepare-nonfree.sh index 8969baa..66d12ff 100644 --- a/deployment_scripts/linux/prepare-nonfree.sh +++ b/deployment_scripts/linux/prepare-nonfree.sh @@ -6,7 +6,7 @@ npm install npm run build cd py -python -m venv venv +python3 -m venv venv source venv/bin/activate python3 -m pip install -r requirements.txt @@ -18,4 +18,5 @@ ollama pull mathstral ollama pull qwen2.5-coder ollama pull qwen2.5 +cd .. chmod +x run.sh \ No newline at end of file diff --git a/deployment_scripts/linux/root.sh b/deployment_scripts/linux/root.sh index 8b8cfeb..49b0563 100644 --- a/deployment_scripts/linux/root.sh +++ b/deployment_scripts/linux/root.sh @@ -1,5 +1,5 @@ #!/bin/bash -apt install npm nodejs python3-pip +apt install npm nodejs python3-pip -y curl -fsSL https://ollama.com/install.sh | sh systemctl enable ollama --now \ No newline at end of file