Hexo deploy to Gitcafe on the static blog

Source: Internet
Author: User

Http://zanderzhang.gitcafe.io/2015/09/17/hexo deploy to Gitcafe on static blog/

Title:hexo deploy to Gitcafe on static blog date:2015-09-17 00:14:24

Tags

Hexo these things,Zippera ' s blog, and so on, these are very clear.


There are, however, several special places:


You can't even get to Google when you want to insert a picture. All right, sleep, go ahead tomorrow.


  • When deploying deploy, there is a

  • ERROR Deployer not found:git ,

  • Plus

  • npm Install hexo-deployer-git--save , the previous type was to fill GitHub, and now it's git, presumably because there's a Web site that has hosted blogs in addition to GitHub.

    • If it is GitHub, branch can also not fill in the default master.

    • if it's gitcafe, you need to fill it in . gitcafe-pages , in the repo, you can directly git remote-v


  • Refer
    to link to establish branch gitcafe-pages.


Gitcafe page Help , in this case, because it doesn't have GitHub Desktop like GitHub now ,


in the Configuring the SSH public key a little bit more step at a time.


I follow the official tutorial,

ssh-t [email protected]

has been in the final detection of permissions when the permissions are not enough, I also delete the ~/.ssh file, because it includes the public key of GitHub, I think this is the reason, the back still appears permission denied. After I checked on the Internet, add this permission is OK.

chmod ~/.ssh


Write Markdown This is good---> MoU , for beginners like me, dual screen, can be viewed in real time, check errors and so on.

    • Hexo Clean
      Very good, you can try.

    • Hexo s-g == Hexo Generate + Hexo Server , view in local

      INFO Hexo is running at http://0.0.0.0:4000/. Press CTRL + C to stop.

    • Hexo d-g == Hexo Generate + Hexo Deploy , this is the deployment.


Hexo deploy to Gitcafe on the static blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.