Go to file
Bill Ewanick c9d590c569 vscode changes 2020-10-15 18:00:00 -04:00
.vscode vscode changes 2020-10-15 18:00:00 -04:00
.envrc Add .envrc for nix-shell easyness 2020-10-07 22:04:21 -04:00
.gitconfig Daily blog update 2020-09-10 03:15:15 +00:00
.gitignore Add .envrc for nix-shell easyness 2020-10-07 22:04:21 -04:00
NixShebang.sh Testing Nix Shebang file 2020-09-13 08:47:36 -04:00
README.md Add the link to seal post in gitlab 2020-09-05 16:02:12 -04:00
seal-blog.cabal More 2020-08-15 12:32:17 -04:00
shell.nix Finally downgrade Hakyll so it'll compile!! 2020-10-07 21:35:33 -04:00

README.md

Cute Seal Fanpage

An experiment using Nix, Hakyll, Haskell, and shell scripts to automate a simple website deployment pipeline.

Why Seals?

It's an in-joke.

What's all this code?

seal-blog/

  • devops/

    • build.sh

      • Uses a nix-shell expression to build the Hakyll executable
    • configuration.nix

    • default.nix

      • An broken experiment to package this repo as a Nix expression.
    • deploy.sh

      • A simple rsync command to copy this repo to the server.
    • newSealPost.sh

      • Script to be called daily by a cron job on the server. Generates the post for the day, builds and commits.
  • dist/

    • Nothing checked in goes here. If you have to go in here you're probably doing something wrong.
  • generate/

    • generateSealPosts.hs
      • A Haskell script that checks the website/posts folder and creates a blog post for every day from 1998 until the current date. There you will find the adjective lists if you think of more words to describe seals.
  • website/

    • A basic Hakyll site, slightly modified to serve seals. Most of the site is generated from the site.hs file. Check the Hakyll documentation for more info.

These seals need more adjectives!

In generate/generateSealPosts.hs you'll find two lists of adjectives. Submit a pull request to add more. Or email me at admin AT cutesealfanpage.love