- This is a standard landing page and blog for my miscellaneous thoughts and essentially links out to all my other work.
- The theme is based off this theme
- The rest of the site is configured to work well with doom-emacs, so it uses
ox-hugo
After the dependencies are set up below the site can be built and served with rake
tasks. Hugo is also expected.
$ rake --tasks
rake clean # Clean the generated content
rake getPandoc # Install pandoc
rake hugoBuild # Build site with Hugo
rake hugoServe[port] # Serve site with Hugo
rake md # Orgmode to markdown with Emacs
Enter the shell with nix-shell
and use a rake
task!
This typically involves the following:
# Optional, in ~/.config/nix/nix.conf or darwin-configuration.nix
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
Updating the ruby packages:
# Wit nix shell (v2.4 and up)
nix shell nixpkgs#bundix -c bundix -l
# Without
nix-shell -p bundix --run "bundix -l"
Similarly, the node
packages are to be generated with:
nix shell nixpkgs#nodePackages.node2nix -c node2nix -c node.nix
With the updates done globally:
npm install -g npm-check-updates
ncu -u # Might break!
Track the ruby dependencies with rbenv
and ruby-build
:
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
cd ~/.rbenv && src/configure && make -C src
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
Then use them:
rbenv install 2.6.2
eval "$(rbenv init -)"
gem install bundler
bundle