Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.11 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.11 KB

Deploy Hakyll with GitHub Pages

My personal website built with Hakyll + Pandoc and TailwindCSS. Hosted on Github Pages.

Requirements

  • GHC 9.2.4
  • Cabal 3.6.2.0
  • npm 8.10.0

Build

cabal clean
cabal update
# Build the site package
cabal build
# Run the Hakyll site build
cabal exec site build 
# Alternatively use watch to automatically rebuild on change
# cabal exec site watch
# Build CSS with Tailwind CLI
npm run build 
# Alternatively use watch to automatically rebuild on change
# npm run watch

Windows: withFile: invalid argument (invalid character)

Fix: Change PowerShell's default encoding to UTF-8

$outputencoding=[console]::outputencoding=[console]::inputencoding=[text.encoding]::utf8