Hugo Campus

Setting up Git, Nginx, and the Server

This post describes the steps to get Hugo running on a new web site. It’s not user-friendly.

I built two sites, one for testing and one for production. I am developing (writing) the site on my laptop.

Create the Server

I created a small server on DigitalOcean.

I installed Nginx for my web server, then created an entry in my ~/.ssh/config file for it called “parking.”

Nginx setup

I created folders for a production and testing website on the droplet. (The character is my prompt.)