forked from React-Group/interstellar_ai
		
	main #57
					 6 changed files with 36 additions and 1 deletions
				
			
		
							
								
								
									
										30
									
								
								deployment_scripts/linux/prepare_all.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								deployment_scripts/linux/prepare_all.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | ||||||
|  | #!/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 | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| #!/bin/bash | #!/bin/bash | ||||||
| 
 | 
 | ||||||
| apt install npm nodejs python3-full ffmpeg libgtk-3-0t64 libnotify4 libnss3 libxss1 libasound2 build-essential cmake -y | apt install npm nodejs python3-full ffmpeg libgtk-3-0t64 libnotify4 libnss3 libxss1 libasound2t64 build-essential cmake -y | ||||||
| if ! ollama; then | if ! ollama; then | ||||||
|     curl -fsSL https://ollama.com/install.sh | sh |     curl -fsSL https://ollama.com/install.sh | sh | ||||||
| fi | fi | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ cd .. | ||||||
| npm start & | npm start & | ||||||
| pid_node=$! | pid_node=$! | ||||||
| 
 | 
 | ||||||
|  | sleep 2 | ||||||
| npx electron . | npx electron . | ||||||
| 
 | 
 | ||||||
| kill $pid_py | kill $pid_py | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								deployment_scripts/windows/prepare_all.bat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								deployment_scripts/windows/prepare_all.bat
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | ||||||
|  | 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 | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue