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