Docs: sync booking-requests + Bookings IA + image_url after Back#59/Front#30. Fixes EventHub/EventHubSpec#12

This commit is contained in:
2026-07-27 15:21:12 +03:00
parent cc469d5698
commit 7c21fa2aef
8 changed files with 157 additions and 9 deletions
+33
View File
@@ -0,0 +1,33 @@
---
description: EventHub — локальные сборки/тесты только через WSL (Windows toolchain сломан)
alwaysApply: true
---
# EventHub: рабочее окружение агента
На этой машине **не использовать** нативный Windows для:
| Стек | Нельзя (Windows) | Нужно |
|------|------------------|--------|
| Front / FrontAdmin | `npm`, `npx`, Playwright | **WSL** `npm` |
| Back (Erlang) | Windows `erl` / `rebar3` | **WSL** + `scripts/wsl-dev-env.sh` |
## Front (EventHubFront)
```bash
wsl -e bash -lc 'cd /mnt/c/Users/alexc/IdeaProjects/eventHub/EventHubFront && npm run lint && npm run build && npm run test:e2e'
```
## FrontAdmin
```bash
wsl -e bash -lc 'cd /mnt/c/Users/alexc/IdeaProjects/eventHub/EventHubFrontAdmin && npm run lint && npm run build'
```
## Back
```bash
wsl -e bash -lc 'cd /mnt/c/Users/alexc/IdeaProjects/eventHub/EventHubBack && source scripts/wsl-dev-env.sh && rebar3 eunit'
```
Подробности: `EventHubFront/.cursor/rules/npm-wsl.mdc`, `EventHubBack/.cursor/rules/otp-rebar-wsl.mdc`.