diff --git a/deployment_scripts/windows/NOTE.txt b/deployment_scripts/windows/NOTE.txt index 330097c..efcc53d 100644 --- a/deployment_scripts/windows/NOTE.txt +++ b/deployment_scripts/windows/NOTE.txt @@ -1,5 +1,7 @@ You will need to make three folders: -node - contains nodejs portable -py - contains python3 portable -ollama - contains ollama portable +node-bin - contains nodejs portable +python-bin - contains python3 portable - don't forget to add the .pth file and adjust it accordingly, because import site is normally missing. +ollama.bin - contains ollama portable + +you also need vc redist 2019 \ No newline at end of file diff --git a/deployment_scripts/windows/python313._pth b/deployment_scripts/windows/python313._pth new file mode 100644 index 0000000..4b5ab01 --- /dev/null +++ b/deployment_scripts/windows/python313._pth @@ -0,0 +1,5 @@ +python313.zip +. + +# Uncomment to run site.main() automatically +import site diff --git a/deployment_scripts/windows/scripts/prepare_ollama.bat b/deployment_scripts/windows/scripts/prepare_ollama.bat index ce6187d..90cb7ae 100644 --- a/deployment_scripts/windows/scripts/prepare_ollama.bat +++ b/deployment_scripts/windows/scripts/prepare_ollama.bat @@ -1,4 +1,5 @@ cd ollama-bin +start /b ollama.exe serve ollama.exe pull phi3.5 ollama.exe pull qwen2-math:1.5b ollama.exe pull starcoder2 diff --git a/deployment_scripts/windows/scripts/run_ollama.bat b/deployment_scripts/windows/scripts/run_ollama.bat index 018e09e..87d1459 100644 --- a/deployment_scripts/windows/scripts/run_ollama.bat +++ b/deployment_scripts/windows/scripts/run_ollama.bat @@ -1,2 +1,2 @@ cd ollama-bin -"ollama app.exe" \ No newline at end of file +start /b ollama.exe serve \ No newline at end of file