Remove unsupported freelance project content and refresh resumes
This commit is contained in:
@@ -8,7 +8,7 @@ A custom React and FastAPI portfolio built from Alex Herlan's résumé. The inte
|
||||
backend/
|
||||
data/ Local content and article fallback
|
||||
supabase/schema.sql Supabase articles table and security setup
|
||||
seed_supabase.py One-time migration for the ten starter articles
|
||||
seed_supabase.py One-time migration for the starter articles
|
||||
main.py FastAPI routes, SMTP delivery, and production serving
|
||||
requirements.txt
|
||||
frontend/
|
||||
@@ -24,16 +24,20 @@ resumes/ Matching HTML/PDF files for each generated version
|
||||
|
||||
The standalone generator reads `Alexander Herlan Resume 2024.md`, creates a self-contained HTML document, and prints that exact HTML to PDF using Python Playwright. The template and CSS are in `scripts/generate_resume.py`. The default `--layout original` retains the sidebar design with left-column section labels, right-column content, Letter pages, and green header accents. Section starts use normal-flow grid layout to preserve the PDF text reading order. Use `--layout ats` for the optional single-column layout. Both layouts use the same Markdown and local Raleway/Lato fonts when available, with Arial as a fallback. The original PDF is only a design reference, and is not needed to run the generator.
|
||||
|
||||
**Selected website resume: version 17.** The portfolio's **Open CV** link uses
|
||||
`/api/resume?v=resume-v17`, which serves the styled `resumes/resume-v17.pdf` as
|
||||
`Alexander-Herlan-Resume-v17.pdf`. Its source is `resumes/resume-v17.md`, with
|
||||
the corrected `alexherlandev@gmail.com` email and matching HTML/PDF files. Both
|
||||
deployment configurations include the version 17 PDF. Version 18 remains the
|
||||
classic alternative in version 16's single-column format, with Markdown, HTML,
|
||||
PDF, and Word files saved under `resumes/resume-v18.*`.
|
||||
**Selected website resume: styled version 19.** The portfolio's **Open CV** link
|
||||
uses `/api/resume?v=resume-v19`, serving `resumes/resume-v19.pdf` as
|
||||
`Alexander-Herlan-Resume-v19.pdf`. Its Markdown source matches
|
||||
`Alexander Herlan Resume 2024.md`; both deployment configurations include this PDF.
|
||||
|
||||
Generate future classic versions with
|
||||
`.venv/Scripts/python.exe scripts/generate_resume.py resumes/resume-v18.md --layout autofill --docx`.
|
||||
**ATS extraction version: 20.** `resumes/resume-v20.pdf` and
|
||||
`resumes/resume-v20.docx` use a plain single-column layout, explicit contact
|
||||
labels, and separate job title, employer, location, and date lines. Matching
|
||||
Markdown and HTML are included. Both versions contain the same career facts.
|
||||
Superseded generated resumes and saved application answers based on unsupported
|
||||
project claims have been removed. The original 2024 PDF remains a design reference.
|
||||
|
||||
Generate future ATS versions with
|
||||
`.venv/Scripts/python.exe scripts/generate_resume.py resumes/resume-v20.md --layout autofill --docx`.
|
||||
Generating a new version does not automatically change the selected website
|
||||
resume. PDF text extraction and Word reading order are checked locally; actual
|
||||
application-field mapping depends on the receiving system.
|
||||
@@ -68,7 +72,7 @@ Markdown format: start with one `# Name`, optionally follow with a bold professi
|
||||
|
||||
Package references: [Python-Markdown](https://python-markdown.github.io/reference/) and [Playwright PDF rendering](https://playwright.dev/python/docs/api/class-page#page-pdf).
|
||||
|
||||
For content updates, edit the Markdown first and rerun the generator to create a new matching HTML/PDF draft pair. Do not edit generated content directly. Each HTML file records the SHA-256 of its source text in a `source-sha256` meta tag, so its source revision can be checked. The generator rejects long dashes in visible Markdown text instead of silently rewriting them in the output. Earlier versions remain historical snapshots; generating a new pair does not change the selected website resume.
|
||||
For content updates, edit the Markdown first and rerun the generator to create a new matching HTML/PDF draft pair. Do not edit generated content directly. Each HTML file records the SHA-256 of its source text in a `source-sha256` meta tag, so its source revision can be checked. The generator rejects long dashes in visible Markdown text instead of silently rewriting them in the output. Generating a new pair does not change the selected website resume. Retire superseded outputs when correcting unsupported content.
|
||||
|
||||
## Run locally
|
||||
|
||||
@@ -184,7 +188,7 @@ To connect a project without creating anything manually in the Supabase console:
|
||||
2. Run `bash scripts/setup_supabase.sh` from the repository root.
|
||||
3. Restart FastAPI.
|
||||
|
||||
The Bash command applies `backend/supabase/schema.sql` through the Management API and imports all ten starter articles. Use `bash scripts/setup_supabase.sh --schema-only` when you want the table without seed data.
|
||||
The Bash command applies `backend/supabase/schema.sql` through the Management API and imports all starter articles. Use `bash scripts/setup_supabase.sh --schema-only` when you want the table without seed data.
|
||||
|
||||
The access token must be project-scoped with **Database: Read-write** permission. Supabase recommends scoped access tokens for agents and automation because their reach can be limited to one project. Do not paste database passwords, access tokens, or secret keys into chat.
|
||||
|
||||
@@ -271,7 +275,7 @@ npx.cmd vercel --prod
|
||||
After deployment, check `/`, a direct link such as `/experience`,
|
||||
`/api/health`, `/api/posts`, and `/api/resume`. Check admin sign-in and upload a
|
||||
small file before publishing new content. The project retains the selected
|
||||
`resumes/resume-v17.pdf`; local secrets, upload backups, and draft resumes are
|
||||
`resumes/resume-v19.pdf`; local secrets, upload backups, and draft resumes are
|
||||
excluded from deployment by `.vercelignore`.
|
||||
|
||||
Vercel uploads are limited to **4 MB per file** in both the UI and API, below
|
||||
@@ -298,23 +302,19 @@ uvicorn backend.main:app --host 0.0.0.0 --port 8000
|
||||
|
||||
When `frontend/dist` exists, FastAPI serves the built single-page application and supports direct links such as `/experience` and `/blog/{slug}`.
|
||||
|
||||
### Resume autofill (version 16)
|
||||
### ATS resume (version 20)
|
||||
|
||||
Version 16 uses a plain single-column layout with ordinary text runs and full
|
||||
profile URLs. Job titles, employers, locations, and dates occupy separate lines.
|
||||
Client projects appear as three ordinary accomplishment bullets under Self-employed.
|
||||
Names are embedded in sentences, with no separate project headings, date ranges,
|
||||
or nested role-like blocks. This reduces ambiguity when extracting work history.
|
||||
Reference contacts appear in a separate References section. Organization names
|
||||
are italic and dates use smaller dark-gray text. The added consulting role and
|
||||
university degree dates were supplied by the user.
|
||||
Its editable source is `resumes/resume-v16.md`.
|
||||
Version 20 uses ordinary text runs and full profile URLs. Job titles, employers,
|
||||
locations, and dates occupy separate lines. The current freelance role contains
|
||||
only a general services summary. Reference contacts appear in a separate
|
||||
References section. Organization names are italic and dates use smaller
|
||||
dark-gray text. Its editable source is `resumes/resume-v20.md`.
|
||||
|
||||
Generate a new version from that source (existing versions are never overwritten):
|
||||
Generate a new version from that source (existing files are never overwritten):
|
||||
|
||||
```powershell
|
||||
.venv/Scripts/python.exe -m pip install python-docx==1.2.0
|
||||
.venv/Scripts/python.exe scripts/generate_resume.py resumes/resume-v16.md --version v17 --layout autofill --docx --browser msedge
|
||||
.venv/Scripts/python.exe scripts/generate_resume.py resumes/resume-v20.md --layout autofill --docx --browser msedge
|
||||
```
|
||||
|
||||
The Word alternative uses ordinary body paragraphs without headers, text boxes,
|
||||
|
||||
Reference in New Issue
Block a user