Skip to content

data-burst/data-engineering-wiki

Repository files navigation

Hugo

Hugo is a static site generator written in Go, optimized for speed and designed for flexibility.

Prerequisites

Installation

Install the Hugo with respect to your Operating System (OS).

Setup

Follow the instruction below:

  1. Create a new project:

    hugo new site hugo-blog
  2. Navigate to Hugo project root:

    cd hugo-blog
  3. Install the book theme:

    git submodule add https://github.com/alex-shpak/hugo-book themes/hugo-book
  4. Modify the configuration and add the book theme to hugo.toml:

    baseURL = 'https://wiki.databurst.tech'
    languageCode = 'en-us'
    title = 'Databurst Data Engineering Wiki'
    theme = "hugo-book"
  5. [optional] Copy the sample content from existing examples:

    cp -R themes/hugo-book/exampleSite/content.en/* ./content
  6. Start the development server:

    hugo server

Useful Links