My personal website https://jniemela.dk
Find a file
Joshua Niemelä b56d9edfc0 Updated stuff
2024-08-08 21:15:21 +02:00
.github chore(deps): bump cachix/install-nix-action from 20 to 21 2023-05-25 01:08:43 +00:00
src Updated stuff 2024-08-08 21:15:21 +02:00
ssg Added recentfirst to compiler 2023-05-21 19:13:22 +02:00
.ghci Initial commit 2023-05-19 17:07:32 +02:00
.gitignore removed envrc 2023-05-20 01:25:50 +02:00
check Added two shell scripts 2023-05-20 14:48:18 +02:00
deploy Added two shell scripts 2023-05-20 14:48:18 +02:00
flake.lock Initial commit 2023-05-19 17:07:32 +02:00
flake.nix fixed flake and added courses 2023-06-15 23:18:41 +02:00
LICENSE Updated license 2023-05-20 01:26:43 +02:00
README.md Updated readme 2023-05-28 13:24:06 +02:00

jniemela.dk

Nix & Flakes

If you don't have nix, follow the nix installation instructions.

Once you have nix installed, follow the instructions here to get access to flakes: https://nixos.wiki/wiki/Flakes.

After installing Nix, you can enter the local development environment by running nix develop, this will make the commands below available. Alternatively put use flakes into an .envrc file and use direnv.

Deployment

Running deploy will execute the deployComamnd in Main.hs, in my case, it will rsync the resulting website onto the server.

Local development

Running check will start up the website on localhost:8000, the website will be updated live on changes to files in src, changes to ssg require a restart of check