Files
vontor-cz/README.md
2026-05-28 17:23:04 +02:00

1.0 KiB

vontor.cz

Czech e-marketplace — Django backend + React frontend.

Requirements

  • Docker Desktop
  • Node.js 22+ (frontend dev)
  • Python 3.12+ (backend dev)

Running locally

docker-compose up

Frontend dev server:

cd frontend && npm install && npm run dev

Docker — corporate / custom CA certificates

If your network uses SSL inspection (corporate proxy, Tailscale, etc.) the Docker build will fail with SSL errors when fetching packages.

Fix: export your Windows Root CA store into the build context once:

New-Item -Force -ItemType Directory backend\certs | Out-Null; $s = [Security.Cryptography.X509Certificates.X509Store]::new("Root","LocalMachine"); $s.Open("ReadOnly"); $s.Certificates | % { "-----BEGIN CERTIFICATE-----`n" + [Convert]::ToBase64String($_.RawData,"InsertLineBreaks") + "`n-----END CERTIFICATE-----" } | Out-File -Encoding ascii backend\certs\windows-ca-bundle.crt; $s.Close()

The file is git-ignored. Re-run the command whenever your CA store changes.