My personal website. See the finished product at skylarcupit.com.
- Add a fallback .mp4 for the gcmake example .webm video.
git clone [email protected]:scupit/SkylarCupitSite.git
cd SkylarCupitSite
- Run
yarn install
to install all needed dependencies. - Run the correct editor setup command. For VSCode,
yarn sdks vscode
is what you want. - Do the setup steps for the resume/ submodule as described in the resume module README
NOTE: Steps 3 through 5 can also be done by running the
initial-vscode-setup.{ps1|sh}
convenience script.
yarn run dev
starts a local dev server on port 3000.
- Make sure both 7Zip and Yarn are available.
- With the project root as the current working directory, run
./package-site.ps1
(Windows + PowerShell) or./package-site.sh
(everywhere else).
Upon success, the final build will be in the dist/ directory, and will be compressed into my_site.tar.gz in the project root.
I downscale images using imagemagick before adding them to the resources/ folder. This script is just for reference:
# NOTE that to convert 'heif' format files (including HEIC and heic), you must first build
# imagemagick from source with HEIC support enabled.
for file in *.{HEIC,heic,JPG}; do
magick convert "$file" -resize '30%' "${file%.*}.webp"
done
The range between 15% and 30% seems to be an ideal middle ground between resolution and file size.