Docs: sync booking-requests + Bookings IA + image_url after Back#59/Front#30. Fixes EventHub/EventHubSpec#12
This commit is contained in:
@@ -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`.
|
||||
Reference in New Issue
Block a user