sandbox/README.md
2026-11-16 14:07:41 +05:00

22 lines
1.1 KiB
Markdown
Raw Permalink 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.

# Peppa Sandbox
Проект Пеппы. Ключ задач: `SBX`. Правила — в [AGENTS.md](AGENTS.md).
## Что это
Учебный продукт: одна страница (`site/`), которая открывается по ссылке версии для проверки
и объясняет, что это, как пользоваться и как проверить. Тексты — в `site/i18n/{ru,kk,en}.json`,
слова — из [docs/glossary.md](docs/glossary.md).
## Запуск и проверка
```sh
python3 -m http.server 3000 -d site # http://localhost:3000, язык: ?lang=ru|kk|en
bash scripts/test-site.sh # здоровье, переводы, словарь, ответы сервера
docker build -t sandbox . && docker run --rm -e PORT=3000 -p 3000:3000 sandbox
curl -f http://localhost:3000/healthz # ok
```
Обновление версии для проверки проходит, только если `GET /healthz` отвечает 200
(файл `site/healthz`) — не удаляйте его.