feat: Simplify configuration with run_gemini scripts

- Added run_gemini.sh for macOS/Linux
- Added run_gemini.bat for Windows
- Scripts handle virtual environment activation automatically
- Updated README and config examples to use the simpler command
- No need to specify Python path or script arguments anymore

This makes the setup much cleaner and less error-prone for users.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-08 20:18:18 +04:00
parent 25849d16e9
commit 149a58d042
4 changed files with 32 additions and 9 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/bash
cd "$(dirname "$0")"
source venv/bin/activate
python gemini_server.py "$@"
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Activate the virtual environment and run the server
source "$SCRIPT_DIR/venv/bin/activate"
python "$SCRIPT_DIR/gemini_server.py"