mirror of
https://github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama.git
synced 2025-04-23 01:59:10 +00:00
fill in start.sh
This commit is contained in:
parent
857b72ae36
commit
fe890d739c
1 changed files with 26 additions and 0 deletions
26
start.sh
Normal file → Executable file
26
start.sh
Normal file → Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if Python virtual environment exists
|
||||
if [ ! -d "venv" ]; then
|
||||
echo "Creating venv..."
|
||||
|
||||
# Create Python virtual environment
|
||||
python3 -m venv venv
|
||||
fi
|
||||
|
||||
echo "Activating venv..."
|
||||
|
||||
# Activate Python virtual environment
|
||||
source venv/bin/activate
|
||||
|
||||
echo "Checking dependencies..."
|
||||
|
||||
pip install -r "src/requirements.txt"
|
||||
|
||||
echo "Starting the research assistant..."
|
||||
|
||||
python -m src
|
||||
|
||||
echo "Deactivating venv..."
|
||||
|
||||
deactivate
|
Loading…
Add table
Reference in a new issue