- Navigate to docroot for dev site
- Right now that’s
~/Public/notes.alexkraker.net
- Build site
hugo
- 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!
- 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.