dear god, untested linux scripts

This commit is contained in:
Patrick_Pluto 2024-10-09 11:03:43 +02:00
parent 6435bfad8d
commit a592cf0e18
4 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#!/bin/bash
chmod +x root.sh
pkexec ./root.sh
npm install
npm run build
cd py
python -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
ollama pull qwen2-math:1.5b
ollama pull starcoder2
ollama pull llama3.2
ollama pull wizard-math
ollama pull starcoder2:7b
ollama pull llama3.1
chmod +x run.sh

View file

@ -0,0 +1,21 @@
#!/bin/bash
chmod +x root.sh
pkexec ./root.sh
npm install
npm run build
cd py
python -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
chmod +x run.sh

View file

@ -0,0 +1,5 @@
#!/bin/bash
apt install npm nodejs python3-pip
curl -fsSL https://ollama.com/install.sh | sh
systemctl enable ollama --now

View file

@ -0,0 +1,13 @@
#!/bin/bash
cd py
python api.py &
pid_py=$!
npm start &
pid_node=$!
npx electron .
kill $pid_py
kill $pid_node