Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 529 Bytes

File metadata and controls

30 lines (20 loc) · 529 Bytes

abgelehnt.github.io

运行流程

1. 初始化git仓库

git submodule update

2. 下载hugo

wget https://github.com/gohugoio/hugo/releases/download/v0.147.9/hugo_0.147.9_linux-amd64.tar.gz
tar -xf hugo_0.147.9_linux-amd64.tar.gz hugo

2. 启动 Hugo 的开发服务器以查看网站

  1. 在本地查看网站
./hugo -D server
  1. 在局域网查看网站
./hugo server -D --bind 192.168.2.3 -p 1313 --baseURL=http://192.168.2.3:1313