How quickly people quickly build a blog with HEXO

How quickly people quickly build a blog with HEXo

npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server

 

You can then begin the deployment of

npm install hexo-deployer-git --save


修改
deploy:
  type: git
  repo: <repository url> #https://bitbucket.org/JohnSmith/johnsmith.bitbucket.io
  branch: [branch] #published
  message: [message]

 

common problem:

1. I am the villain was gone? !

  ? ? ? Is it because there is no node_modules folder! ! !

2. What you need to install the package?

2.1 go here https://nodejs.org/en/ , download node;

2.2 and then clone the github repository to

2.3 into the folder: npm install hexo-cli -g

Villain appeared

 

Then hexo d

 

 

 

 

Published 217 original articles · won praise 7 · views 50000 +

Guess you like

Origin blog.csdn.net/Hodors/article/details/102539122