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:
@@ -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"
|
||||
Reference in New Issue
Block a user