-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.xml
More file actions
15 lines (15 loc) · 1.03 KB
/
search.xml
File metadata and controls
15 lines (15 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title><![CDATA[Hexo搭建]]></title>
<url>%2F2017%2F06%2F10%2FHexo%E6%90%AD%E5%BB%BA%2F</url>
<content type="text"><![CDATA[开始安装1$ npm install -g hexo 出错,使用淘宝镜像1$ npm config set registry https://registry.npm.taobao.org 出现权限不允许,修改该文件的权限:/usr/local/lib/node_modules,找到文件夹右击,权限改为:读与写创建一个文件夹名为:Blog,cd到Blog文件夹中1$ cd /Users/lbymac/Blog 初始化hex1$ hexo init 文件生成1$ hexo generate 本地服务测试1$ hexo server 在_config.yml文件中添加以下信息123type: git repository: https://github.com/CherishJoyBy/CherishJoyBy.github.io.gitbranch: master git上传插件安装1$ npm install hexo-deployer-git —save 清空1$ hexo clean 生成1$ hexo generate 部署上传1$ hexo deploy]]></content>
<categories>
<category>Hexo</category>
</categories>
<tags>
<tag>Hexo</tag>
<tag>git</tag>
</tags>
</entry>
</search>