initial: split from gov-agreg — vreau.digital standalone platform
Moved from gov-agreg/src/pages/achizitii/* to root (drop prefix). - 22 pages migrated, 127 files total - All internal links: /achizitii/X → /X (176 occurrences fixed) - AchizitiiLayout subnav rewritten: /X paths, top-right link to vreaudigital.ro hub - BaseLayout new (vreau.digital branding, OG tags, site URL) - astro.config.mjs: site https://vreau.digital, server output (was static) - docker-compose: port 5096 (vreaudigital is 5095), container vreau-digital - deploy.sh: paths /opt/vreau-digital, log /var/log/vreau-digital-deploy.log Backend shared with gov-agreg: - PostgreSQL satra (same schemas: seap, firms, anaf, anre, ...) - Photon, Martin tiles - Infisical /vreaudigital path (DATABASE_URL etc. shared) build: PASS (npx astro check 0 errors, npm run build 5s vite + 10s server)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# vreau.digital — Platformă de transparență achiziții publice
|
||||
|
||||
## Context
|
||||
|
||||
Spin-off din `gov-agreg` (vreaudigital.ro). Acest repo conține platforma standalone de transparență achiziții publice România.
|
||||
|
||||
- **Domain**: https://vreau.digital
|
||||
- **Hub marketing**: https://vreaudigital.ro (rămâne gov-agreg)
|
||||
- **Backend partajat**: PostgreSQL satra, Photon, Martin (același cluster ca gov-agreg)
|
||||
|
||||
## Stack
|
||||
|
||||
- Astro 5 + React 19 + Tailwind 3 + Node @astrojs/node standalone
|
||||
- PostgreSQL @ satra:5432 (schemas: seap, firms, anaf, anre, ancom, asf, aaas, aep, cnsc, curteacont, bugetar, regas, fonduri, cnas, apia, gnm, public_kpi)
|
||||
- MapLibre 5 + Martin tile server @ 10.10.10.166:3010
|
||||
- Docker container @ satra:5096 → Traefik @ proxy 10.10.10.199 → vreau.digital (Cloudflare proxied)
|
||||
|
||||
## Routes (toate la rădăcină, nu /achizitii/)
|
||||
|
||||
- `/` — landing page
|
||||
- `/cauta` — search SEAP
|
||||
- `/retete/[slug]` — investigative recipes (49+)
|
||||
- `/investigation/[slug]` — narrative leads (15+)
|
||||
- `/firma/[cui]`, `/autoritate/[cui]` — profile pages
|
||||
- `/red-flags` — cross-source signals
|
||||
- `/top-contracte`, `/top-firme`, `/fonduri-ue` — leaderboards
|
||||
- `/api/*` — endpoints (og, cpv, profil, etc.)
|
||||
|
||||
## Reguli operaționale
|
||||
|
||||
- Backend secrets în Infisical, path `/vreaudigital` (shared cu gov-agreg deocamdată — DATABASE_URL e identic)
|
||||
- TWOCAPTCHA_KEY pentru ANAF datornici/lista_alba scrapers
|
||||
- `npx astro check` + `npm run build` ÎNAINTE de commit
|
||||
- Push triggers webhook → satra:9867 → /opt/vreau-digital/deploy.sh
|
||||
- Verify deploy via `/api/version`
|
||||
Reference in New Issue
Block a user