diff --git a/deployment_scripts/linux/prepare_free.sh b/deployment_scripts/linux/prepare-free.sh similarity index 100% rename from deployment_scripts/linux/prepare_free.sh rename to deployment_scripts/linux/prepare-free.sh diff --git a/deployment_scripts/linux/prepare_nonfree.sh b/deployment_scripts/linux/prepare-nonfree.sh similarity index 100% rename from deployment_scripts/linux/prepare_nonfree.sh rename to deployment_scripts/linux/prepare-nonfree.sh diff --git a/deployment_scripts/linux/prepare_all.sh b/deployment_scripts/linux/prepare_all.sh deleted file mode 100644 index 03dd10c..0000000 --- a/deployment_scripts/linux/prepare_all.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 - -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 - -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 312679d..7fc9b13 100644 --- a/deployment_scripts/linux/root.sh +++ b/deployment_scripts/linux/root.sh @@ -1,6 +1,6 @@ #!/bin/bash -apt install npm nodejs python3-full ffmpeg libgtk-3-0t64 libnotify4 libnss3 libxss1 libasound2t64 build-essential cmake -y +apt install npm nodejs python3-full ffmpeg libgtk-3-0t64 libnotify4 libnss3 libxss1 libasound2 build-essential cmake -y if ! ollama; then curl -fsSL https://ollama.com/install.sh | sh fi diff --git a/deployment_scripts/linux/run.sh b/deployment_scripts/linux/run.sh index a4ad3f9..1220bae 100644 --- a/deployment_scripts/linux/run.sh +++ b/deployment_scripts/linux/run.sh @@ -9,7 +9,6 @@ cd .. npm start & pid_node=$! -sleep 2 npx electron . kill $pid_py diff --git a/deployment_scripts/windows/prepare_all.bat b/deployment_scripts/windows/prepare_all.bat deleted file mode 100644 index e610454..0000000 --- a/deployment_scripts/windows/prepare_all.bat +++ /dev/null @@ -1,4 +0,0 @@ -start /b scripts\prepare_py.bat -start /b scripts\prepare_npm.bat -start /b scripts\prepare_ollama_free.bat -start /b scripts\prepare_ollama_nonfree.bat \ No newline at end of file