备忘网站

# 备忘网站

# Markdown 语法说明 (简体中文版)

# Markdown: Basics (快速入门)

# 使用GitHub和Hexo搭建免费静态Blog(本博客案例)

###安装Hexo

1
2
3
4
5
npm install hexo-cli -g
npm install hexo --save

#如果命令无法运行,可以尝试更换taobao的npm源
npm install -g cnpm --registry=https://registry.npm.taobao.org

# 安装Hexo插件

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
npm install hexo-generator-index --save
npm install hexo-generator-archive --save
npm install hexo-generator-category --save
npm install hexo-generator-tag --save
npm install hexo-server --save
npm install hexo-deployer-git --save
npm install hexo-deployer-heroku --save
npm install hexo-deployer-rsync --save
npm install hexo-deployer-openshift --save
npm install hexo-renderer-marked@0.2 --save
npm install hexo-renderer-stylus@0.2 --save
npm install hexo-generator-feed@1 --save
npm install hexo-generator-sitemap@1 --save

# win下面的git客户端提示FIlename too long解决方法

1
git config --global core.longpaths true

# git-ssh 配置和使用

使用 Hugo 构建
主题 StackJimmy 设计