Skip to content

scupit/SkylarCupitResume

Repository files navigation

Skylar Cupit Resume

My resume, written as a single web page. The finished product can be viewed at skylarcupit.com/resume

Requirements

  • Yarn, ideally Yarn 3 or higher.
  • 7Zip is only required when running the site packager scripts.

Initial Setup

  1. git clone git@github.com:scupit/SkylarCupitResume.git
  2. cd SkylarCupitResume
  3. Run yarn install to install all needed dependencies.
  4. Run the correct editor setup command. For VSCode, yarn sdks vscode is what you want.

Build and Run

yarn run dev starts a local dev server on port 3000.

Production Build

  1. Make sure both 7Zip and Yarn are available.
  2. With the project root as the current working directory, run ./package-resume.ps1 (Windows + PowerShell) or ./package-resume.sh (everywhere else).

Upon success, the final build will be in the dist/ directory, and will be compressed into resume.tar.gz in the project root.

Creating Resume PDF Files

PDF files will be created automatically as part of the "production build" (see above). However, they can also be created manually by running:

yarn node make-pdf.js '<source>'

where source is one of these strings:

Source Description
dev Retrives the webpage from the currently running development server at http://localhost:5173.
preview Retrives the webpage from the currently running Vite preview server at http://localhost:4173.
dist Retrives the webpage from the most recent production build files at <PROJECT_ROOT>/dist/index.html.