hexo command

npm install hexo-cli -g

 

hexo init generates directories, files, etc.

 

(sudo) hexo g(generate) generate static files

 

(sudo) hexo s(server) Access http://localhost:4000/ with a browser

 

=============================================

 

_config.yml

 

deploy:
  type: git
  repository: github project address
  branch: master

 

hexo g

 

hexo d(deploy) deploy to github

 

hexo clean

 

Hexo deployment failed error deployer not foud, execute npm install hexo-deployer-git --save

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326941007&siteId=291194637