Installation¶
System Requirements¶
- Python: 3.10 or higher
- Operating System: macOS, Linux, or Windows with WSL
- Memory: Minimum 512MB RAM
- Disk Space: ~100MB
Installation Methods¶
For contributors who want to modify the code:
Verify Installation¶
Test that everything is installed correctly:
Expected output:
Dependencies¶
Core Dependencies¶
fastmcp>=0.2.0 # MCP server framework
requests>=2.31.0 # HTTP client
pydantic>=2.0.0 # Data validation
Development Dependencies¶
pytest>=7.0.0 # Testing framework
pytest-cov>=4.0.0 # Coverage reporting
ruff>=0.1.0 # Linting
mypy>=1.0.0 # Type checking
Platform-Specific Setup¶
macOS¶
# Install Python 3.11 via Homebrew
brew install python@3.11
# Clone and install
git clone https://github.com/kiranreddi/sentinel-ci.git
cd sentinel-ci
pip3.11 install -r requirements.txt
Linux (Ubuntu/Debian)¶
# Install Python 3.11
sudo apt update
sudo apt install python3.11 python3.11-venv python3-pip
# Clone and install
git clone https://github.com/kiranreddi/sentinel-ci.git
cd sentinel-ci
pip3 install -r requirements.txt
Windows (WSL)¶
# Install WSL first if not already installed
wsl --install
# In WSL terminal:
sudo apt update
sudo apt install python3.11 python3-pip git
# Clone and install
git clone https://github.com/kiranreddi/sentinel-ci.git
cd sentinel-ci
pip3 install -r requirements.txt
IDE Setup¶
VS Code¶
- Install Python extension
- Open sentinel-ci folder
- Select Python interpreter (Ctrl+Shift+P → "Python: Select Interpreter")
- Install recommended extensions:
- Python
- Pylance
- Ruff
PyCharm¶
- Open sentinel-ci as project
- Configure Python interpreter (Settings → Project → Python Interpreter)
- Mark
sentinel_ci/as Sources Root - Enable pytest as test runner
Troubleshooting¶
pip: command not found
Install pip:
Permission denied
Use virtual environment instead of system Python:
SSL certificate errors
Update certificates:
Next Steps¶
- Configuration → - Set up your CI platform credentials
- Quick Start → - Get running in 5 minutes
- Architecture → - Understand the system design