- Create a new post
hexo new "My New Post"
. More info: Writing - Generate static files
hexo generate
. More info: Generating - Use Hexo Admin:
hexo server
, Open http://localhost:4000/admin/ - One Shot Commit/Deploy
./hexo-deploy.sh
- Clone repo
yarn; yarn global add hexo-cli
- Checkout already existing submodules in this project:
git submodule update --init --recursive
- Add optional plugins for theme-next (out of source-control)
git clone https://github.com/theme-next/theme-next-fancybox3 themes/next/source/lib/fancybox
git submodule add https://github.com/theme-next/hexo-theme-next themes/next
https://stackoverflow.com/a/1260982
Main documentation: https://hexo.io/docs/
Configuration: https://hexo.io/docs/configuration.html
hexo init <folder> #For new projects
cd <folder>
npm install