Skip to main content
  1. Posts/

Install Hugo on FreeBSD, commit to Github and deploy to Cloudflare pages

·127 words·1 min

Prerequisites
#

  • Install PHP
  • Install nginx

Install Hugo
#

Tip
#

  • Install the GUI (maybe xfce or Kde5) so you edit md files, update them on the fly. Copy pasting and updating is easier with the gui and the terminal available. Refer to Hugo Cheatsheat if you need instructions to create the new site.
  • If you start getting weird errors from Git, just create a new hugo site, copy your contents and config.toml and follow instructions again. IMO Github has a lot to be done before it becomes user friendly. I’ll write about it separately someday.

🌶️

Sanjay Regmi
Author
Sanjay Regmi