My Simple blog site with gatsby with react
Run local Server:
npm install -g gatsby-cli gh-pages yarn
git clone https://github.com/emathgroup/selectedTopics
cd selectedTopics
yarn
# gatsby develop
gatsby build
gh-pages -r git@github.com:emathgroup/emathgroup.github.io.git -b master -d public
# 这条命令的意思就是将public目录的内容push到emathgroup/emathgroup.github.io.git的master分支