Brian Beach 11/29/2019

Running Hugo Server in AWS Cloud9 Preview

Read Original

This technical article explains a solution for running a Hugo static site server within an AWS Cloud9 environment. It details the problem where Hugo's default baseURL conflicts with Cloud9's proxy preview URL and provides a bash script to dynamically set the correct baseURL and port using AWS instance metadata and environment variables.

Running Hugo Server in AWS Cloud9 Preview

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week