Skip to content

arunkpatra/arunkpatra-personal-blog

Repository files navigation

https://arunkpatra.io/

Build Status

Marichikā - Arun's Blog

Clone the Repo

You can use this command to clone your repo with all the submodules:

git clone --recursive [email protected]:arunkpatra/arunkpatra-personal-blog.git

Or if you have already cloned the project, you can use:

git submodule init
git submodule update

Add a new post

hugo new posts/post-name.md

Running Locally

hugo server -D

Build static pages

hugo -D
hugo --cleanDestinationDir --verbose

Output will be in ./public/ directory by default (-d/--destination flag to change it, or set publishdir in the config file).

Deploy to GCP

gsutil -m rsync -R public gs://www.arunkpatra.io

CI is setup, so on each push, the site should get updated.

Hugo Help

Help - https://gohugo.io/getting-started/usage/ Docs - https://gohugo.io/documentation/