Initial Helpomatica source.

This commit is contained in:
2026-08-14 11:06:58 +07:00
commit d0de81d0a7
15 changed files with 10071 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
$ErrorActionPreference = "Stop"
if (-not (Test-Path ".deps\fastapi")) {
python -m pip install --target .deps -r requirements.txt
}
$env:PYTHONPATH = Join-Path $PWD ".deps"
$env:HELPMATICA_ROOT = $PWD
if (-not (Test-Path ".env")) {
Write-Host ""
Write-Host "Создайте .env из .env.example и добавьте CURSOR_API_KEY для ответов AI." -ForegroundColor Yellow
Write-Host "Ключ: https://cursor.com/dashboard/integrations" -ForegroundColor Yellow
Write-Host ""
}
# Bind 0.0.0.0 so other machines on the LAN can reach this host.
# Local: http://127.0.0.1:8010 | LAN: http://<this-machine-ip>:8010
# Windows Firewall may need an inbound allow for TCP 8010.
python -m uvicorn main:app --reload --reload-dir . --host 0.0.0.0 --port 8010