Start a blog to keep track of some notes.

This is my github page, a place where I take notes on the stuff I learned from the courses I took and through-out my work.

Hexo is pretty easy to set up.

One problem I encounter is that when I run:

1
$ hexo server

I got the following error:

1
ERROR Local hexo not found

It turns out it’s because my node version is too low…

Everything works after I updated my node version.

When trying to deploy after adding a new post, the github page does not update.

It seems that a hexo clean is needed before running hexo depoly.

To start hexo server on a different port, use hexo server -p <port>.

Some useful links:

Process of creating a blog:

  • cd <path to blog/blog_init>
  • hexo new post <title>
  • hexo generate
  • Use hexo server to check the generated page
  • hexo deploy to deploy the change to github