BUH_bot/start_bot.bat
Игорь Надеин b75b8e62a6 feat: Add Docker containerization for development
- Add Dockerfile with Python 3.11-slim base
- Add docker-compose.yml for local development
- Add .dockerignore to optimize build context
- Add start/stop scripts for Linux and Windows
- Add .env.example template
- Configure volumes for data, logs, temp_documents
- Add healthcheck with 30s interval
- Resource limits: 0.5 CPU, 512MB RAM
2025-11-03 14:20:26 +03:00

28 lines
791 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
REM Скрипт быстрого запуска Telegram бота (Windows)
echo 🤖 Запуск Telegram бота для МойСклад...
echo.
REM Проверка виртуального окружения
if not exist ".venv" (
echo ❌ Виртуальное окружение не найдено!
echo Создайте его командой: python -m venv .venv
exit /b 1
)
REM Проверка .env файла
if not exist ".env" (
echo ❌ Файл .env не найден!
echo Скопируйте .env.example в .env и заполните параметры:
echo copy .env.example .env
exit /b 1
)
REM Активация и запуск
echo ✅ Запуск бота...
echo.
call .venv\Scripts\activate.bat
python bot.py