After getting the source from github, you need to install hexo to current folder
npm install hexo --save
echo "enable >hexo server"
npm install hexo-server --save
echo "enable to generate index.html"
npm install