install git
install Node.js
1 | curl https://raw.github.com/creationix/nvm/v0.33.11/install.sh | sh |
Close and reopen your terminal to start using nvm or run the following to use it now:
1 | export NVM_DIR="$HOME/.nvm" |
1 | nvm install stable |
install Hexo and init
1 | npm install -g hexo-cli |
install NexT
Download latest release version:
1 | mkdir themes/next |
Set theme in main hexo root config _config.yml file:
1 | theme: next |
github pages
install plugins:
1 | npm install hexo-deployer-git --save |
edit
1 | deploy: |
push to github:
1 | hexo g && hexo deploy |