1. Navigate to docroot for dev site
  2. Right now that's ~/Public/notes.alexkraker.net
  3. Build site
hugo
  1. Copy public directory to my server:
rsync -azvP -e 'ssh -p 36' \
/home/akraker/public/second-brain/public/ \
alexkr@server.alexkraker.net:~/notes.alexkraker.net

That's it!

  1. URL: notes.alexkraker.net

gitlab repo#

I have a private gitlab repo I push this project to: * https://gitlab.com/akraker/second-brain + It's probably best not to have this public since I have notes here that could be considered sensitive for work.

Hugo site development#

I have my repo configured to use "uglyURLs" since I believe these are more future proof. See the config.yml in the project root.