Redact sensitive AWS keys in backend/.env.example and add VITE_TURNSTILE_SITE_KEY and VITE_USE_TURNSTILE to frontend/.env.example. Optimize backend Dockerfile by installing Python requirements immediately after copying requirements.txt (enables Docker cache) and remove the duplicate later install. Update turnstile verification to skip checks when USE_SSL is disabled (dev/non-HTTPS) and keep the existing no-secret bypass; add debug logging for the SSL bypass.
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.
Description
Languages
TypeScript
72.4%
Python
22.3%
HTML
2.6%
CSS
2.1%
JavaScript
0.5%