Install

Getting from 0 to 1 takes ~5 minutes.

1. Install Hugo

brew install hugo

See Hugo Docs for more options:

2. Create a new site

hugo new site <siteName>

3. Install this project

  1. Open your <siteName> project directory.

  2. Navigate to the themes/ directory.

  3. Run the following command:

    gh repo clone lbliii/milodocs

4. Add theme to config

baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'milodocs'

5. Init repo

Time to start saving your progress!

  1. Run the following:
    git init
  2. Add a comment.
  3. Push your new site and theme to your remote git repo.

6. Deploy locally

  1. Navigate into the siteName repo.
  2. Run the following:
    hugo server
  3. Open localhost (typically localhost:1313).
yay! you did it!
You’ve done the hardest part: installing and deploying Hugo with a theme. See the next page to learn how to clear out my default content and start drafting.