docs: fix database config - DEV uses PostgreSQL via Docker, not SQLite

This commit is contained in:
Maciej Pienczyn 2026-01-09 03:30:51 +01:00
parent 3cea691fd4
commit def60a4b22

View File

@ -33,16 +33,17 @@ nordabiz/
|---------|-------------|
| Backend | Flask 3.0, SQLAlchemy 2.0, Python 3.9+ |
| Frontend | HTML5, CSS3, Vanilla JS, Jinja2 |
| Baza danych | PostgreSQL (prod), SQLite (dev) |
| Baza danych | PostgreSQL (prod i dev via Docker) |
| AI | Google Gemini 2.0 Flash (free tier, 200 req/dzień) |
| Security | Flask-Login, Flask-WTF (CSRF), Flask-Limiter |
## Środowiska
### Development (lokalne)
- **Baza:** `nordabiz_local.db` (SQLite)
- **Baza:** PostgreSQL via Docker (`localhost:5433/nordabiz`)
- **Port:** 5000 lub 5001
- **Uruchomienie:** `python3 app.py`
- **Docker DB:** `docker compose up -d` (jeśli nie działa)
### Production
- **Serwer:** NORDABIZ-01 (VM 249, IP 10.22.68.249)