- You need a
github
account. - Install hugo following this page.
OR:
If you are an
R
user, you can install R packageblogdown
and then install hugo using blogdown.
install.packages("devtools")
devtools::install_github('rstudio/blogdown')
### install hugo
blogdown::install_hugo()
git clone git@github.com:MYID/cgmonline.git
Note, to add a new post, follow our naming convention year-month-day-some-words-as-title.md
.
Run the following command to compile the md file into html, git add and git commit.
sh deploy.sh
The MIT License (MIT), Copyright (c) 2016.