Skip to content

devosu/dev-website

Repository files navigation

README

CodeQL Hugo Deploy

Source code for https://osu.dev

Contributors

Name Email Role
Alex Gulko gulko.5[at]osu.edu Initial Developer
Misha Gusev [email protected] Lead Developer
Keming He [email protected] Software QA

Credit: Table made using Tables Generator

https://www.tablesgenerator.com/markdown_tables#

Developer Guide

  1. Install Hugo

https://gohugo.io/installation/

# For Debian (Ubuntu) Linux users:
set -e; sudo apt update; sudo apt upgrade -y; sudo apt install hugo
  1. Clone the repo and navigate to local dir
git clone https://github.com/devosu/dev-website.git
cd dev-website

# To clone a specific branch:
git fetch
git checkout remove_branch_name
  1. To start the Hugo development server:
hugo server --config=config.toml
  1. To build the static site:
set -e; \
if [ -d "build" ]; then rm -Rf build; fi; \
mkdir -p build; \
hugo -d build