Purpose
Create personal blog with Hugo and hosting with github at Windows 10. For this purpose, you need knowledge of HTML, Markdown, and Hugo structure. If you knwo golang, css, js, that will be better. But you do not have to.
used tools
- install date : 03-31-2021
- hugo version : hugo v0.82.0
- git version : git version 2.31.1.windows.1
- windows : 10
- windows terminal: v1.7.572.0
- Chocolatey : v0.10.15
install tools
windows terminal
Install and set up Windows Terminal
sign up : github
install hugo
hugo install link Since I used windows, I used Chocolatey
- windows terminal->right click-> run as Administer
- type
Get-ExecutionPolicy
and enter - if it showed
Restricted
, typeSet-ExecutionPolicy AllSigned
orSet-ExecutionPolicy Bypass -Scope Process
- type
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
and enter to install. - type
choco
to check Chocolatey installed
Now, type choco install hugo -confirm
and enter to install Hugo
hugo version
and enter to check Hugo installed.intall git
after install, you should set your username and email. This can be any username and email. For avoiding confusion, I recommend to use same id and email from that you used for github sing up.
open terminel and type
git config --global user.name "name"
git config --global user.email "email"
you can check with typing as below
git config --list