cd /media/muhammad/Work/Identity/CV-lize/backend
pip install "rendercv[full]==2.5"Or if using a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtrendercv --versionShould output: RenderCV v2.5
Start the backend server:
uvicorn main:app --reload --port 8000Upload a resume through the API or frontend, then test PDF generation:
# Replace {session_id} with actual session ID
# Test RenderCV (default)
curl -o test_rendercv.pdf "http://localhost:8000/api/download/{session_id}/pdf"
# Test specific theme
curl -o test_classic.pdf "http://localhost:8000/api/download/{session_id}/pdf?theme=classic"
# Test WeasyPrint fallback
curl -o test_weasy.pdf "http://localhost:8000/api/download/{session_id}/pdf?engine=weasyprint"- engineeringresumes (default) - Clean, ATS-friendly
- engineeringclassic - Professional with colors
- classic - Traditional academic
- sb2nov - Minimalist two-column
- moderncv - Modern with sidebar
- Arial (default)
- Calibri
- Helvetica
- Times New Roman
- Georgia
- Garamond
- Raleway
- Open Sans
- Lato
- Source Sans 3
If you see ImportError: RenderCV is not installed:
pip install "rendercv[full]==2.5"If pip refuses to install (externally-managed-environment):
# Option 1: Use virtual environment
python3 -m venv venv
source venv/bin/activate
pip install "rendercv[full]==2.5"
# Option 2: User install
pip install --user "rendercv[full]==2.5"RenderCV requires Typst. If missing:
# Install via rendercv[full]
pip install "rendercv[full]==2.5"The [full] extra includes all dependencies including Typst.
RenderCV Generation:
🎨 Generating PDF with RenderCV (theme: engineeringresumes)
✅ Generated PDF for session abc123: resume_optimized.pdf
Engine: rendercv
Theme: engineeringresumes
Font: Arial
WeasyPrint Fallback:
📄 Generating PDF with WeasyPrint (PDF/A-3u for ATS compliance)
📋 Generating PDF with variant: pdf/a-3u for enhanced ATS compatibility
✅ Generated PDF for session abc123: resume_optimized.pdf
Engine: weasyprint
Automatic Fallback:
⚠️ RenderCV not installed, falling back to WeasyPrint
📄 Generating PDF with WeasyPrint (PDF/A-3u for ATS compliance)
- Test with your own resume
- Try different themes and compare output
- Verify ATS compatibility
- Update frontend to add theme selector
Check RENDERCV_MIGRATION.md for detailed migration information.