Skip to content

azurecitadel/azurecitadel

Repository files navigation

Azure Citadel

The content for the public-facing website for Azure Citadel

The site is currently hosted on Azure Static Web Apps, using GitHub actions to deploy, sitting behind Azure Front Door

Local hugo install

Example commands for Ubuntu 20.04, run from the local directory for the cloned repo.

  1. Install npm

    sudo apt update && sudo apt install -y npm
  2. Install the npm modules

    npm install
  3. Determine the Hugo version from the Dockerfile

  4. Set the variable

    hugo_version=0.90.1
  5. Download the .deb file

    hugo_binary=hugo_extended_${hugo_version}_Linux-64bit.deb
    wget https://github.com/spf13/hugo/releases/download/v$hugo_version/$hugo_binary
  6. Install hugo

    sudo apt install ./$hugo_binary -y
  7. Remove the .deb file

    rm $hugo_binary

Run hugo

hugo server