Rendering enquiry files
10x Resume candidates can use just ↗︎ commands as described below to create rendered html, pdf and zip files from their content containing details customize for their enquiry.
The pdf generated after creating the Userbase database will include the link and password the reviewer needs to open the candidate’s portfolio.
Render portfolio content
The 10x Resume .justfile provides a render command
previously described to generate the 10x Resume content.
Steps
-
To generate the 10x Resume content for the enquiry, run the following command from the git worktree
(e.g. ~/10xresume/34476472.Brilliant)Terminal window just renderSample output
% just renderpnpm install --reporter=append-onlyScope: all 24 workspace projectsLockfile is up to date, resolution step is skippedAlready up to dateDone in 1.6s[ ! -e .env ] && cp .env.local .env[ ! -e $(dotenvx get ENCFILE) ] && just write-encpnpm run render> 10xresume@ render /Users/demo/10xresume/34476472.Company> dotenvx run -- turbo render --log-order=grouped --force[dotenvx@1.19.2] injecting env (19) from .envturbo 2.3.3• Packages in scope: @repo/Access, @repo/Access-browser, @repo/Access-node, @repo/App, ...• Running render in 23 packages• Remote caching disabled@repo/Details-render:render: cache bypass, force executing 3a1d1beb35baf32c@repo/Details-render:render:@repo/Details-render:render: > @repo/Details-render@ render /Users/demo/10xresume/34476472.Company/Packages/Details-render@repo/Details-render:render: > dotenvx run -f ../../.env -- node dist/Render.cjs@repo/Details-render:render:@repo/Details-render:render: [dotenvx@1.19.2] injecting env (19) from ../../.env@repo/Details-render:render: Wrote ../../Job/Pdf/Src/_includes/details.html@repo/Details-render:render: Wrote ../../Job/Pdf/Src/_includes/details.css@repo/Portfolio:render: cache bypass, force executing 1edbbc0fec15340e@repo/Portfolio:render:@repo/Portfolio:render: > @repo/Portfolio@ render /Users/demo/10xresume/34476472.Company/Job/Portfolio@repo/Portfolio:render: > ./render.sh@repo/Portfolio:render:@repo/Portfolio:render: > @repo/Portfolio@ render-files /Users/demo/10xresume/34476472.Company/Job/Portfolio@repo/Portfolio:render: > dotenvx run -f ../../.env -- tsx node_modules/@11ty/eleventy/cmd.cjs --config=.eleventy.ts@repo/Portfolio:render:@repo/Portfolio:render: [dotenvx@1.19.2] injecting env (19) from ../../.env@repo/Portfolio:render: [11ty] Writing ./build/10x/_items.json from ./Src/10x/_items.md (liquid)@repo/Portfolio:render: [11ty] Writing ./build/10x/hello.1.md from ./Src/10x/hello.1.md (liquid)...@repo/Portfolio:render: [11ty] Writing ./build/10x/writing.1/index.html from ./Src/10x/writing.1.md (liquid)@repo/Portfolio:render: [11ty] Writing ./build/10x/writing.2/index.html from ./Src/10x/writing.2.md (liquid)@repo/Portfolio:render: [11ty] Copied 883 Wrote 57 files in 0.75 seconds (v3.0.0)@repo/Portfolio:render: created icons.1.zip@repo/Portfolio:render: created background.1.zip...@repo/Pdf:render: cache bypass, force executing 18fcfdc9f10ac483@repo/Pdf:render:@repo/Pdf:render: > @repo/Pdf@ render /Users/demo/10xresume/34476472.Company/Job/Pdf@repo/Pdf:render: > ./render.sh@repo/Pdf:render:@repo/Pdf:render: + wait 3195@repo/Pdf:render: Bottle v0.12.25 server starting up (using WSGIRefServer())...@repo/Pdf:render: Listening on http://localhost:8080/@repo/Pdf:render: Hit Ctrl-C to quit.@repo/Pdf:render:@repo/Pdf:render: > @repo/Pdf@ render-pdf /Users/demo/10xresume/34476472.Company/Job/Pdf@repo/Pdf:render: > ./wait.sh && tsx node_modules/@11ty/eleventy/cmd.cjs --config=.eleventy.ts@repo/Pdf:render:@repo/Pdf:render: + '[' '!' -e Src/_includes/details.css ']'@repo/Pdf:render: [11ty] Writing ./build/index.html from ./Src/index.njk@repo/Pdf:render: [11ty] Copied 17 Wrote 1 file in 0.14 seconds (v3.0.0)@repo/Pdf:render: 127.0.0.1 - - [23/Jan/2025 16:24:22] "GET / HTTP/1.1" 200 40805@repo/Pdf:render: 127.0.0.1 - - [23/Jan/2025 16:24:22] "GET /assets/Resume.css HTTP/1.1" 200 14425@repo/Pdf:render: 127.0.0.1 - - [23/Jan/2025 16:24:22] "GET /assets/Outfit.css HTTP/1.1" 200 435@repo/Pdf:render: 127.0.0.1 - - [23/Jan/2025 16:24:22] "GET /assets/Poppins.css HTTP/1.1" 200 387...@repo/Pdf:render: Prince ok@repo/Pdf:render: + rm -f build.pid@repo/Pdf:render: + kill 3195@repo/Pdf:render: ./build.sh: line 40: kill: (3195) - No such process@repo/Pdf:render: build.pdfTasks: 3 successful, 3 totalCached: 0 cached, 3 totalTime: 4.492sjust post-render
Check pdf link and password
Directory34476472.Brilliant e.g. the git worktree for the enquiry
- .env e.g. the .env file
Make note of the link and password in the .env file.
Steps
-
To examine the
.envfile run the following commandjust envMake note of the value of LINK and RPASSWORD.
Sample output
Terminal window % just envdotenvx run -- ./Apps/Cli/dist/10x env[dotenvx@1.19.2] injecting env (19) from .envDOWNLOAD 34476472.downloadENCFILE 34476472.encDATADIR ./Job/DataBUILDDIR ./Job/Portfolio/buildAPPID ed070b06-62c8-4da8-a162-e42f756371a4DBNAME enquiryCUSERNAME 34476472candidateCPASSWORD xxxxxxxxxxxxxxxxxxxxRUSERNAME 34476472RPASSWORD EqW6vFqi0yQZ321PEMAIL candidate34476472@10xresume.comLINKPREFIX https://localhost:5173/?34476472LINKSUFFIX #/l/nIJfJRGZSgMTcPo-XfJAqALINK https://localhost:5173/?34476472#/l/nIJfJRGZSgMTcPo-XfJAqASTATICLINK https://localhost:5173/static?34476472#/l/nIJfJRGZSgMTcPo-XfJAqABOOKMARK https 5173 - 34476472 - nIJfJRGZSgMTcPo-XfJAqA - EqW6vFqi0yQZ321P
Examine the rendered pdf
Directory34476472.Brilliant e.g. the git worktree for the enquiry
DirectoryJob
DirectoryPdf
- build.pdf
The link and password in the build.pdf file should match the values in the .env file.
Steps
-
Open the generated
build.pdfand check that the link and password match the values from step 2.On OSX, the following command will open the pdf in a browser.
Terminal window just open-pdf