Deploying My Second Brain
  1. Navigate to docroot for dev site
  • Right now that’s ~/Public/notes.alexkraker.net
  1. Build site
hugo
  1. Copy public directory to my server:
rsync -azvP -e 'ssh -p 36' \
/home/akraker/public/second-brain/public/ \
[email protected]:~/notes.alexkraker.net

That’s it!

  1. URL: notes.alexkraker.net

gitlab repo #

I have a private gitlab repo I push this project to:

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.