Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Production moved from on-prem VM 249 (10.22.68.249) to OVH VPS (57.128.200.27, inpi-vps-waw01). Updated ALL documentation, slash commands, memory files, architecture docs, and deploy procedures. Added |local_time Jinja filter (UTC→Europe/Warsaw) and converted 155 .strftime() calls across 71 templates so timestamps display in Polish timezone regardless of server timezone. Also includes: created_by_id tracking, abort import fix, ICS calendar fix for missing end times, Pros Poland data cleanup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
63 lines
2.2 KiB
Markdown
63 lines
2.2 KiB
Markdown
# NordaBiz Project Status
|
|
|
|
Sprawdź aktualny status projektu NordaBiz - lokalnie i na produkcji.
|
|
|
|
## Kroki do wykonania:
|
|
|
|
### 1. Status lokalny
|
|
- Sprawdź czy aplikacja działa lokalnie:
|
|
```bash
|
|
curl -s http://localhost:5000/health 2>/dev/null || curl -s http://localhost:5001/health 2>/dev/null || echo "Aplikacja nie działa lokalnie"
|
|
```
|
|
- Pokaż działające procesy Python: `ps aux | grep -E "python.*app.py" | grep -v grep`
|
|
- Sprawdź Docker PostgreSQL: `docker ps | grep nordabiz-postgres`
|
|
|
|
### 2. Status produkcji
|
|
- Health check produkcji: `curl -s https://nordabiznes.pl/health`
|
|
- Sprawdź nagłówki HTTP: `curl -I https://nordabiznes.pl 2>/dev/null | head -10`
|
|
- Test SSL: `curl -vI https://nordabiznes.pl 2>&1 | grep -E "(SSL|expire|subject)"`
|
|
|
|
### 3. Status VM (użyj skill proxmox-manager)
|
|
- VM: OVH VPS inpi-vps-waw01 (OVH VPS)
|
|
- Sprawdź: CPU, RAM, uptime, snapshoty
|
|
|
|
### 4. Statystyki bazy danych (DEV via Docker)
|
|
```bash
|
|
docker exec nordabiz-postgres psql -U nordabiz_app -d nordabiz -c "
|
|
SELECT 'Firmy: ' || COUNT(*) FROM companies;
|
|
SELECT 'Użytkownicy: ' || COUNT(*) FROM users;
|
|
SELECT 'Konwersacje chat: ' || COUNT(*) FROM ai_chat_conversations;
|
|
SELECT 'Wiadomości chat: ' || COUNT(*) FROM ai_chat_messages;
|
|
"
|
|
```
|
|
|
|
### 5. Statystyki bazy danych (PROD)
|
|
```bash
|
|
ssh maciejpi@57.128.200.27 "sudo -u postgres psql -d nordabiz -c \"
|
|
SELECT 'Firmy: ' || COUNT(*) FROM companies;
|
|
SELECT 'Użytkownicy: ' || COUNT(*) FROM users;
|
|
SELECT 'Konwersacje chat: ' || COUNT(*) FROM ai_chat_conversations;
|
|
SELECT 'Wiadomości chat: ' || COUNT(*) FROM ai_chat_messages;
|
|
\""
|
|
```
|
|
|
|
### 6. Status Git
|
|
- `git status` - niezacommitowane zmiany
|
|
- `git log --oneline -5` - ostatnie commity
|
|
|
|
## Output:
|
|
Podsumuj status w formie tabeli:
|
|
| Element | Status | Szczegóły |
|
|
|---------|--------|-----------|
|
|
| Lokalna aplikacja | OK/ERROR | port |
|
|
| Docker PostgreSQL | OK/ERROR | localhost:5433 |
|
|
| Produkcja | OK/ERROR | response time |
|
|
| VM OVH VPS inpi-vps-waw01 | OK/ERROR | uptime |
|
|
| Baza danych DEV | OK/ERROR | liczba rekordów |
|
|
| Baza danych PROD | OK/ERROR | liczba rekordów |
|
|
| Git | CLEAN/DIRTY | branch |
|
|
|
|
## Uwagi:
|
|
- DEV: PostgreSQL via Docker na localhost:5433
|
|
- PROD: PostgreSQL na 57.128.200.27:5432
|