Skip to content

gfontenot/website-source-hakyll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] Website Source

This is the source code for gordonfontenot.com. The site is written in Hakyll, and pushed here. Pushes to master are then picked up by CircleCI where the static site is built, and then the whole thing is deployed to GitHub Pages.

This used to be the source code for gordonfontenot.com, but I recently moved the source back to Jekyll for the sake of simplicity. This repo is probably still a good sample for Hakyll though, so I'm leaving it up.

Local Development

Dependencies

You'll need to have stack installed. If you're on OS X, you can do that with homebrew:

% brew update
% brew install haskell-stack

Once you have that installed, you can run bin/setup to install the app dependencies.

Running the app locally

Since it's a static site, you'll need to build it first. The easiest way to do this is by building the site compiler and sending it commands with stack exec:

% stack build
% stack exec site -- build

This will generate the built website at ./_site. You can then view the contents of this site with your static-site server of choice. I use pow:

% cd ~/.pow
% mkdir gordonfontenot/public
% cd gordonfontenot/public
% ln -s /path/to/_site

Then you will be able to view the generated site at gordonfontenot.dev.

Viewing changes

Generally, you will be able to update the built site by running stack exec site -- build. However, if you run into issues with cached pages, you can run stack exec site -- rebuild to force a regeneration of the entire site. After that, you can reload the page and see the updates.

About

Old Hakyll source code for gordonfontenot.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published