deployment changes

This commit is contained in:
Patrick_Pluto 2024-10-09 15:34:44 +02:00
parent c0f95dc37e
commit 2274691291
6 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,22 @@
#!/bin/bash
chmod +x root.sh
pkexec ./root.sh
npm install
npm run build
cd py
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
ollama pull qwen2-math:1.5b
ollama pull qwen2.5-coder:1.5b
ollama pull phi3.5
ollama pull mathstral
ollama pull qwen2.5-coder
ollama pull qwen2.5
cd ..
chmod +x run.sh