% sudo apt-get install golang-go
% wget https://github.com/gohugoio/hugo/releases/download/v0.27.1/hugo_0.27.1_Linux-64bit.deb
% sudo dpkg -i hugo_0.27.1_Linux-64bit.debNote you can also find other releases of hugo on:
https://github.com/gohugoio/hugo/releases/% git clone [email protected]:nitish2112/website.git
% cd website
% git submodule update --init
% git clone https://github.com/nitish2112/nitish2112.github.io.git publicNow you can make your chnages in the website/contents folder and run the following commands to view your website locally
% cd website
% hugo server -wGo to your browser and type http://localhost:1313/ in the URL and you should be able to view your website.
% cd public
% git commit -a -m "XYZ"
% git pushThis will push your repository to nitish2112.github.io and the changes in your website will be available publicly.
% cd website
% git commit -a -m "ABC"
% git pushThis will push the changes to website repo so that you can clone your hugo project on any machine.