Files
Munich-news/scripts/README.md
2025-11-16 20:59:14 +01:00

33 lines
872 B
Markdown

# Utility Scripts
This folder contains utility scripts for testing and managing the Munich News Daily system.
## Available Scripts
### Ollama / GPU
- `setup-ollama-model.sh` - Pull and setup the Ollama model (used by Docker)
- `configure-ollama.sh` - Configure Ollama settings
- `pull-ollama-model.sh` - Manually pull Ollama model
- `start-with-gpu.sh` - Start services with GPU support
- `check-gpu.sh` - Check GPU availability
- `check-gpu-api.sh` - Check GPU via API
- `diagnose-gpu.sh` - Diagnose GPU issues
- `test-ollama-setup.sh` - Test Ollama configuration
### Testing
- `test-mongodb-connectivity.sh` - Test MongoDB connection
- `test-newsletter-api.sh` - Test newsletter API endpoints
- `check-articles.sh` - Check articles in database
## Usage
Make scripts executable:
```bash
chmod +x scripts/*.sh
```
Run a script:
```bash
./scripts/script-name.sh
```