Deploy gitHub blog by hexo

##github blog를 Hexo를 이용하여 deploy 해 보자.

Ref.

https://dschloe.github.io/settings/hexo_blog/

###Hexo를 이용하여 블로그를 만들어 보자

Node js를 download 해 준다.

1
$ node -v
  • Hexo를 설치 해 준다.
    • Hexo의 경우 npm을 이용하여 설치 한다.
1
$ npm install -g hexo-cli

git bash를 적당한 경로에서 들어간다.

makeBlog folder를 만들어준다.

1
2
3
4
5

$ mkdir makeBlog
$ cd makeBlog
$ hexo init myblog

hexo init 을 myblog에서 해 준다.
hexo server와 deployer를 설치 해 준다.

이를 설치 하지 않으면 에러가 날 수 있다.

1
2
3
4
$ cd myblog
$ npm install
$ npm install hexo-server --save
$ npm install hexo-deployer-git --save
Author

YoonHwa

Posted on

2021-11-04

Updated on

2021-11-08

Licensed under

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

댓글

You forgot to set the shortname for Disqus. Please set it in _config.yml.