# macOS
brew install hugo
# Windows (Chocolatey)
choco install hugo -confirm
# Windows (Scoop)
scoop install hugo
# Linux (Ubuntu/Debian)
sudo apt install hugo
์๋ก์ด ์ ์ฅ์์์ ์ค์นํ ๊ฒฝ์ฐ:
git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
์ด๋ฏธ ์ค์ ๋ ์ ์ฅ์๋ฅผ ํด๋ก ํ ๊ฒฝ์ฐ:
# ์๋ธ๋ชจ๋ ์ด๊ธฐํ ๋ฐ ๋ฐ์ดํฐ ๊ฐ์ ธ์ค๊ธฐ
git submodule init
git submodule update
์๋ธ๋ชจ๋ ์ค์น ํ์ธ:
git submodule
# ๋๋
cat .gitmodules
# ์๋ฒ ์คํ (์ด์ ํฌํจ)
hugo server -D
# ๊ธฐ๋ณธ ํฌ์คํธ ์์ฑ
hugo new posts/test.md
- http://localhost:1313 ์์ ํ์ธ
GitHub Actions ์ฌ์ฉ ์ ๋ค์ ํญ๋ชฉ ์ถ๊ฐ: