Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saucxs/hexo-blog-origin

hexo+github搭建的博客,原始项目代码,可以clone,运行,查看hexo-blog
https://github.com/saucxs/hexo-blog-origin

hexo

Last synced: 4 days ago
JSON representation

hexo+github搭建的博客,原始项目代码,可以clone,运行,查看hexo-blog

Awesome Lists containing this project

README

        

# hexo-blog-origin
hexo+github搭建的博客,原始项目代码,clone,运行

如何对如何搭建hexo+github可以查看我第一篇入门文章:http://www.cnblogs.com/chengxs/p/7402174.html

绑定了域名: http://www.chengxinsong.cn

注意:如果出现hexo不存在这个指令,请先全局安装hexo-cli,

```
npm install hexo-cli -g
```

## 线上地址
http://www.chengxinsong.cn
或者
https://saucxs.github.io/

## 源码
https://github.com/saucxs/hexo-blog-origin

## 运行

步骤:
1、git clone
``` bash
git clone https://github.com/saucxs/hexo-blog-origin.git
```
2、安装依赖
``` bash
npm install
```
3、本地运行
``` bash
hexo clean //清空缓存
hexo g //生成静态文件
hexo s //启动本地服务
```
4、查看
打卡浏览器
``` bash
localhost://4000
```

5、上传到github的page页
``` bash
git d
```

## 最后
打个广告,如果觉得对你有帮助,而且觉得可以,欢迎fork和start,有疑问的可以contact me,[email protected],或者提issue