fill in start.sh

This commit is contained in:
Burke Johnson 2024-11-22 21:24:00 -06:00
parent 857b72ae36
commit fe890d739c

26
start.sh Normal file → Executable file
View 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