1.Install hexo
npm i -g hexo-cli
2.clone the project
git clone git@github.com:wespan/wespan.github.io.git wespan
3.init submodules
cd wespan
git submodule init
git submodule update
# change to themes/wespan,checkout the branch of master
cd themes/wespan
git checkout master
4.install the dependencies
# change to the root
cd ../../
npm i
5.preview the site
hexo s --watch