Skip to content

ДЗ3: Инфраструктура проекта - #5

Open
tsisarukm wants to merge 3 commits into
hw-basefrom
hw3/infrastructure
Open

ДЗ3: Инфраструктура проекта#5
tsisarukm wants to merge 3 commits into
hw-basefrom
hw3/infrastructure

Conversation

@tsisarukm

Copy link
Copy Markdown
Collaborator

ДЗ3: Инфраструктура проекта CineMatch

Артефакты

  • Dockerfile — контейнеризация Streamlit-приложения
  • docker-compose.yml — оркестрация + персистентные тома для ChromaDB и данных
  • .github/workflows/ci.yml — CI-пайплайн (lint, smoke test, docker build)
  • reports/hw3_report.md — отчёт по этапу

Запуск через Docker

cp .env.example .env
# Добавить OPENROUTER_API_KEY в .env

# Сначала подготовить данные локально:
python scripts/ingest.py
python scripts/build_index.py

# Запустить через Docker:
docker-compose up --build

Приложение доступно на http://localhost:8501.

CI/CD

GitHub Actions запускается при каждом push/PR:

  • lint — проверка стиля кода (ruff)
  • test — smoke тесты импорта модулей
  • docker — сборка Docker-образа

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants