Theme Techdoc
NC Mẫu Menu: MENU
Chạy lệnh sau:
hugo new site BlogD(ví dụ)
cd BlogD
git init
git submodule add https://github.com/thingsym/hugo-theme-techdoc.git themes/hugo-theme-techdoc
git submodule update --remote
git add themes/hugo-theme-techdoc
git commit
hugo server -t hugo-theme-techdoc
Browse site on http://localhost:1313
hugo -t hugo-theme-techdoc -d public_html
XEM TRƯỚC TRANG EXAMPLESITE:
cd themes/hugo-theme-techdoc/exampleSite
hugo server --themesDir ../..
Browse site on http://localhost:1313
(Build development)
cd themes/hugo-theme-techdoc
npm install
npm run gulp watch
(Run Docker and Preview exampleSite)
cd themes/hugo-theme-techdoc
docker-compose up -d
Browse site on http://localhost:1313
Build development
cd themes/hugo-theme-techdoc
docker-compose run --rm node npm install
docker-compose run --rm node npm run watch