4819bdb70e
- Externalize configuration to YAML (config_example.yaml) - Add config loader with validation in bot.py - Implement DatabaseManager for activity logging and user stats - Add message handlers with topic awareness - Include setup_venv.sh for automated environment setup - Add requirements.txt with dependencies (python-telegram-bot, PyYAML) - Comprehensive README with setup and configuration instructions
12 lines
351 B
Bash
12 lines
351 B
Bash
#!/usr/bin/env bash
|
|
# Kurzes Skript zum Erzeugen und Vorbereiten einer virtuellen Umgebung
|
|
set -euo pipefail
|
|
|
|
python3 -m venv .venv
|
|
source .venv/bin/activate
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
|
|
echo "Virtuelle Umgebung eingerichtet und Abhängigkeiten installiert."
|
|
echo "Aktiviere sie mit: source .venv/bin/activate"
|