Site updated: 2022-09-30 01:19:30

This commit is contained in:
qinglong committed 2022-09-30 01:19:31 +08:00
1 parent 11a50b43a7
commit 6b522d325f
47 files changed
+177 -65

No files matched your search

+3 -3
View File
@@ -85,7 +85,7 @@
"url": "https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91-1/",
"title": "Hexo + Theme.Shoka + algolia搜索踩坑",
"date_published": "2022-09-17T15:12:00.000Z",
"content_html": "<h1 id=\"hexo-themeshoka安装\"><a class=\"anchor\" href=\"#hexo-themeshoka安装\">#</a> Hexo + Theme.Shoka 安装</h1>\n<p>  <a href=\"https://blog.jingxiyuan.cn/2022/09/14/Hexo%E5%AE%89%E8%A3%85%E6%91%B8%E7%B4%A2/\">安装介绍</a></p>\n<h1 id=\"algolia注册\"><a class=\"anchor\" href=\"#algolia注册\">#</a> algolia 注册</h1>\n<ol>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly93d3cuYWxnb2xpYS5jb20vdXNlcnMvc2lnbl9pbg==\">algolia</span> 不支持国内邮箱注册,而 google 和 github 由于国内被墙也没法使用。所以只能先注册<span class=\"exturl\" data-url=\"aHR0cHM6Ly9hcHAubmV0bGlmeS5jb20v\"> netlify</span> 然后通过 netlify 注册 algolia。</p>\n</li>\n<li>\n<p>登录 algolia 后创建一个 index,名字随意记住既可。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-32-20.png\" alt=\"2022-09-17-23-32-20.png\" /></p>\n</li>\n<li>\n<p>点击右上角红点,弹出窗口点 settings 按钮。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-35-04.png\" alt=\"2022-09-17-23-35-04.png\" /></p>\n</li>\n<li>\n<p>点击 API KEYS,获取 appId 和 adminApiKey 填入 hexo 的_config.yml 中 apiKey 暂时不填。</p>\n</li>\n</ol>\n<figure class=\"highlight yml\"><figcaption data-lang=\"YAML\"></figcaption><table><tr><td data-num=\"1\"></td><td><pre><span class=\"token key atrule\">algolia</span><span class=\"token punctuation\">:</span></pre></td></tr><tr><td data-num=\"2\"></td><td><pre> <span class=\"token key atrule\">appId</span><span class=\"token punctuation\">:</span> <span class=\"token comment\">#Your appId</span></pre></td></tr><tr><td data-num=\"3\"></td><td><pre> <span class=\"token key atrule\">apiKey</span><span class=\"token punctuation\">:</span> <span class=\"token comment\">#Your apiKey</span></pre></td></tr><tr><td data-num=\"4\"></td><td><pre> <span class=\"token key atrule\">adminApiKey</span><span class=\"token punctuation\">:</span> <span class=\"token comment\">#Your adminApiKey</span></pre></td></tr><tr><td data-num=\"5\"></td><td><pre> <span class=\"token key atrule\">chunkSize</span><span class=\"token punctuation\">:</span> <span class=\"token number\">5000</span></pre></td></tr><tr><td data-num=\"6\"></td><td><pre> <span class=\"token key atrule\">indexName</span><span class=\"token punctuation\">:</span> blog <span class=\"token comment\">#\"shoka\"</span></pre></td></tr><tr><td data-num=\"7\"></td><td><pre> <span class=\"token key atrule\">fields</span><span class=\"token punctuation\">:</span></pre></td></tr><tr><td data-num=\"8\"></td><td><pre> <span class=\"token punctuation\">-</span> title <span class=\"token comment\">#必须配置</span></pre></td></tr><tr><td data-num=\"9\"></td><td><pre> <span class=\"token punctuation\">-</span> path <span class=\"token comment\">#必须配置</span></pre></td></tr><tr><td data-num=\"10\"></td><td><pre> <span class=\"token punctuation\">-</span> categories <span class=\"token comment\">#推荐配置</span></pre></td></tr><tr><td data-num=\"11\"></td><td><pre> <span class=\"token punctuation\">-</span> content<span class=\"token punctuation\">:</span>strip<span class=\"token punctuation\">:</span>truncate<span class=\"token punctuation\">,</span><span class=\"token number\">0</span><span class=\"token punctuation\">,</span><span class=\"token number\">2000</span></pre></td></tr><tr><td data-num=\"12\"></td><td><pre> <span class=\"token punctuation\">-</span> gallery</pre></td></tr><tr><td data-num=\"13\"></td><td><pre> <span class=\"token punctuation\">-</span> photos</pre></td></tr><tr><td data-num=\"14\"></td><td><pre> <span class=\"token punctuation\">-</span> tags</pre></td></tr></table></figure><ol start=\"5\">\n<li>\n<p>点击 All Api Keys - New Api key 创建一个 api key,Indices 选先前让记住的 index,ACL 选下面图片中的选项。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-47-50.png\" alt=\"2022-09-17-23-47-50.png\" /></p>\n</li>\n<li>\n<p>把第 5 步中新建的 api key 填入到第 4 步中的配置中,到此已经完成了百分之九十,只需要重新编译发布即可。不过编译步骤多了一步,在 hexo g 后需要再执行 hexo algolia,至此搜索功能就大功告成了。</p>\n</li>\n</ol>\n",
"content_html": "<h1 id=\"hexo-themeshoka安装\"><a class=\"anchor\" href=\"#hexo-themeshoka安装\">#</a> Hexo + Theme.Shoka 安装</h1>\n<p>  <a href=\"https://blog.jingxiyuan.cn/2022/09/14/Hexo%E5%AE%89%E8%A3%85%E6%91%B8%E7%B4%A2/\">安装介绍</a></p>\n<h1 id=\"algolia注册\"><a class=\"anchor\" href=\"#algolia注册\">#</a> algolia 注册</h1>\n<ol>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly93d3cuYWxnb2xpYS5jb20vdXNlcnMvc2lnbl9pbg==\">algolia</span> 不支持国内邮箱注册,而 google 和 github 由于国内被墙也没法使用。所以只能先注册<span class=\"exturl\" data-url=\"aHR0cHM6Ly9hcHAubmV0bGlmeS5jb20v\"> netlify</span> 然后通过 netlify 注册 algolia。</p>\n</li>\n<li>\n<p>登录 algolia 后创建一个 index,名字随意记住既可。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-32-20.png\" alt=\"2022-09-17-23-32-20.png\" /></p>\n</li>\n<li>\n<p>点击右上角红点,弹出窗口点 settings 按钮。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-35-04.png\" alt=\"2022-09-17-23-35-04.png\" /></p>\n</li>\n<li>\n<p>点击 API KEYS,获取 appId 和 adminApiKey 填入 hexo 的_config.yml 中 apiKey 暂时不填。</p>\n</li>\n</ol>\n<pre><code class=\"language-yml\">algolia:\n appId: #Your appId\n apiKey: #Your apiKey\n adminApiKey: #Your adminApiKey\n chunkSize: 5000\n indexName: blog #&quot;shoka&quot;\n fields:\n - title #必须配置\n - path #必须配置\n - categories #推荐配置\n - content:strip:truncate,0,2000\n - gallery\n - photos\n - tags\n</code></pre>\n<ol start=\"5\">\n<li>\n<p>点击 All Api Keys - New Api key 创建一个 api key,Indices 选先前让记住的 index,ACL 选下面图片中的选项。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-47-50.png\" alt=\"2022-09-17-23-47-50.png\" /></p>\n</li>\n<li>\n<p>把第 5 步中新建的 api key 填入到第 4 步中的配置中,到此已经完成了百分之九十,只需要重新编译发布即可。不过编译步骤多了一步,在 hexo g 后需要再执行 hexo algolia,至此搜索功能就大功告成了。</p>\n</li>\n</ol>\n",
"tags": []
},
{
@@ -109,7 +109,7 @@
"url": "https://blog.jingxiyuan.cn/2022/09/14/Hexo%E5%AE%89%E8%A3%85%E6%91%B8%E7%B4%A2/",
"title": "Hexo安装摸索",
"date_published": "2022-09-14T04:23:55.000Z",
"content_html": "<h1 id=\"hexo博客安装\"><a class=\"anchor\" href=\"#hexo博客安装\">#</a> hexo 博客安装</h1>\n<ol>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly9ub2RlanMub3JnL2VuLw==\">安装 nodejs</span></p>\n</li>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly9naXQtc2NtLmNvbS8=\">安装 git</span></p>\n</li>\n<li>\n<p>安装 hexo(windows 需进入 git bash)</p>\n<p><code>npm install -g hexo-cli</code></p>\n</li>\n<li>\n<p>初始化博客目录</p>\n<p><code>hexo init blog</code></p>\n</li>\n<li>\n<p>进入博客目录</p>\n<p><code>cd blog</code></p>\n</li>\n<li>\n<p>初始化 hexo 到博客目录</p>\n<p><code>npm install</code></p>\n</li>\n</ol>\n<h1 id=\"shoka主题安装\"><a class=\"anchor\" href=\"#shoka主题安装\">#</a> shoka 主题安装</h1>\n<ol>\n<li>\n<p>下载主题 </p>\n<p><code>git clone </code> <span class=\"exturl\" data-url=\"aHR0cHM6Ly9naXRodWIuY29tL2FtZWhpbWUvaGV4by10aGVtZS1zaG9rYS5naXQ=\">https://github.com/amehime/hexo-theme-shoka.git</span> <code> ./themes/shoka</code></p>\n</li>\n<li>\n<p>卸载 hexo-renderer-marked 以及别的 markdown 文件渲染器 </p>\n<p><code>npm un hexo-renderer-marked --save</code></p>\n</li>\n<li>\n<p>安装(md 文件渲染器,压缩 css/js/html)</p>\n<p><code>npm i hexo-renderer-multi-markdown-it --save</code></p>\n</li>\n<li>\n<p>安装(给生成的 css 文件们添加浏览器前缀)</p>\n<p><code>npm i hexo-autoprefixer --save</code></p>\n</li>\n<li>\n<p>安装(站内搜索功能) </p>\n<p><code>npm i hexo-algoliasearch --save</code></p>\n</li>\n<li>\n<p>安装(文章或站点字数及阅读时间统计)</p>\n<p><code>npm i hexo-symbols-count-time --save</code></p>\n</li>\n<li>\n<p>安装(生成 Feed 文件)</p>\n<p><code>npm i hexo-feed --save</code></p>\n</li>\n</ol>\n<h1 id=\"hexo部分常用命令\"><a class=\"anchor\" href=\"#hexo部分常用命令\">#</a> Hexo 部分常用命令</h1>\n<ul>\n<li>\n<p>清除静态文件</p>\n<p><code>hexo clean</code></p>\n</li>\n<li>\n<p>生成静态文件</p>\n<p><code>hexo g</code></p>\n</li>\n<li>\n<p>安装 git 推送插件 </p>\n<p><code>npm install hexo-deployer-git --save</code></p>\n</li>\n<li>\n<p>推送静态文件到 git </p>\n<p><code>hexo d</code></p>\n</li>\n</ul>\n<h1 id=\"安装hexo-admin编写博客插件\"><a class=\"anchor\" href=\"#安装hexo-admin编写博客插件\">#</a> 安装 hexo-admin(编写博客插件)</h1>\n<ul>\n<li>\n<p><code>npm install hexo-admin --save</code></p>\n</li>\n<li>\n<p>hexo-admin 编辑 url</p>\n<p><a href=\"http://localhost:4000/admin\"> <code>http://localhost:4000/admin</code> </a></p>\n</li>\n<li>\n<p>settings 设置用户名、密码、Secret</p>\n<p><a href=\"http://localhost:4000/admin/#/settings\"> <code>http://localhost:4000/admin/#/settings</code> </a></p>\n</li>\n<li>\n<p>把底部生成的配置拷入 hexo 配合文件中 (_config.yml)</p>\n</li>\n</ul>\n<figure class=\"highlight yml\"><figcaption data-lang=\"YAML\"></figcaption><table><tr><td data-num=\"1\"></td><td><pre><span class=\"token key atrule\">admin</span><span class=\"token punctuation\">:</span></pre></td></tr><tr><td data-num=\"2\"></td><td><pre><span class=\"token key atrule\">username</span><span class=\"token punctuation\">:</span> username</pre></td></tr><tr><td data-num=\"3\"></td><td><pre><span class=\"token key atrule\">password_hash</span><span class=\"token punctuation\">:</span> xxxxxx</pre></td></tr><tr><td data-num=\"4\"></td><td><pre><span class=\"token key atrule\">secret</span><span class=\"token punctuation\">:</span> <span class=\"token string\">'my super secret phrase'</span> <span class=\"token comment\">#用单引号包裹</span></pre></td></tr><tr><td data-num=\"5\"></td><td><pre><span class=\"token key atrule\">deployCommand</span><span class=\"token punctuation\">:</span> <span class=\"token string\">'hexo_publish.sh'</span> <span class=\"token comment\">#windows 用 hexo_publish.bat,linux 用 hexo_publish.sh</span></pre></td></tr></table></figure><h4 id=\"hexo_publishsh\"><a class=\"anchor\" href=\"#hexo_publishsh\">#</a> hexo_publish.sh</h4>\n<figure class=\"highlight bash\"><figcaption data-lang=\"bash\"></figcaption><table><tr><td data-num=\"1\"></td><td><pre><span class=\"token shebang important\">#!/bin/bash</span></pre></td></tr><tr><td data-num=\"2\"></td><td><pre></pre></td></tr><tr><td data-num=\"3\"></td><td><pre>hexo clean</pre></td></tr><tr><td data-num=\"4\"></td><td><pre>hexo g</pre></td></tr><tr><td data-num=\"5\"></td><td><pre>hexo d</pre></td></tr></table></figure><h4 id=\"hexo_publishbat\"><a class=\"anchor\" href=\"#hexo_publishbat\">#</a> hexo_publish.bat</h4>\n<figure class=\"highlight bash\"><figcaption data-lang=\"bash\"></figcaption><table><tr><td data-num=\"1\"></td><td><pre>@echo off</pre></td></tr><tr><td data-num=\"2\"></td><td><pre><span class=\"token builtin class-name\">cd</span> D:<span class=\"token punctuation\">\\</span>blog</pre></td></tr><tr><td data-num=\Line truncated
"content_html": "<h1 id=\"hexo博客安装\"><a class=\"anchor\" href=\"#hexo博客安装\">#</a> hexo 博客安装</h1>\n<ol>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly9ub2RlanMub3JnL2VuLw==\">安装 nodejs</span></p>\n</li>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly9naXQtc2NtLmNvbS8=\">安装 git</span></p>\n</li>\n<li>\n<p>安装 hexo(windows 需进入 git bash)</p>\n<p><code>npm install -g hexo-cli</code></p>\n</li>\n<li>\n<p>初始化博客目录</p>\n<p><code>hexo init blog</code></p>\n</li>\n<li>\n<p>进入博客目录</p>\n<p><code>cd blog</code></p>\n</li>\n<li>\n<p>初始化 hexo 到博客目录</p>\n<p><code>npm install</code></p>\n</li>\n</ol>\n<h1 id=\"shoka主题安装\"><a class=\"anchor\" href=\"#shoka主题安装\">#</a> shoka 主题安装</h1>\n<ol>\n<li>\n<p>下载主题 </p>\n<p><code>git clone </code> <span class=\"exturl\" data-url=\"aHR0cHM6Ly9naXRodWIuY29tL2FtZWhpbWUvaGV4by10aGVtZS1zaG9rYS5naXQ=\">https://github.com/amehime/hexo-theme-shoka.git</span> <code> ./themes/shoka</code></p>\n</li>\n<li>\n<p>卸载 hexo-renderer-marked 以及别的 markdown 文件渲染器 </p>\n<p><code>npm un hexo-renderer-marked --save</code></p>\n</li>\n<li>\n<p>安装(md 文件渲染器,压缩 css/js/html)</p>\n<p><code>npm i hexo-renderer-multi-markdown-it --save</code></p>\n</li>\n<li>\n<p>安装(给生成的 css 文件们添加浏览器前缀)</p>\n<p><code>npm i hexo-autoprefixer --save</code></p>\n</li>\n<li>\n<p>安装(站内搜索功能) </p>\n<p><code>npm i hexo-algoliasearch --save</code></p>\n</li>\n<li>\n<p>安装(文章或站点字数及阅读时间统计)</p>\n<p><code>npm i hexo-symbols-count-time --save</code></p>\n</li>\n<li>\n<p>安装(生成 Feed 文件)</p>\n<p><code>npm i hexo-feed --save</code></p>\n</li>\n</ol>\n<h1 id=\"hexo部分常用命令\"><a class=\"anchor\" href=\"#hexo部分常用命令\">#</a> Hexo 部分常用命令</h1>\n<ul>\n<li>\n<p>清除静态文件</p>\n<p><code>hexo clean</code></p>\n</li>\n<li>\n<p>生成静态文件</p>\n<p><code>hexo g</code></p>\n</li>\n<li>\n<p>安装 git 推送插件 </p>\n<p><code>npm install hexo-deployer-git --save</code></p>\n</li>\n<li>\n<p>推送静态文件到 git </p>\n<p><code>hexo d</code></p>\n</li>\n</ul>\n<h1 id=\"安装hexo-admin编写博客插件\"><a class=\"anchor\" href=\"#安装hexo-admin编写博客插件\">#</a> 安装 hexo-admin(编写博客插件)</h1>\n<ul>\n<li>\n<p><code>npm install hexo-admin --save</code></p>\n</li>\n<li>\n<p>hexo-admin 编辑 url</p>\n<p><a href=\"http://localhost:4000/admin\"> <code>http://localhost:4000/admin</code> </a></p>\n</li>\n<li>\n<p>settings 设置用户名、密码、Secret</p>\n<p><a href=\"http://localhost:4000/admin/#/settings\"> <code>http://localhost:4000/admin/#/settings</code> </a></p>\n</li>\n<li>\n<p>把底部生成的配置拷入 hexo 配合文件中 (_config.yml)</p>\n</li>\n</ul>\n<pre><code class=\"language-yml\">admin:\nusername: username\npassword_hash: xxxxxx\nsecret: 'my super secret phrase' #用单引号包裹\ndeployCommand: 'hexo_publish.sh' #windows用hexo_publish.bat,linux用hexo_publish.sh\n</code></pre>\n<h4 id=\"hexo_publishsh\"><a class=\"anchor\" href=\"#hexo_publishsh\">#</a> hexo_publish.sh</h4>\n<pre><code class=\"language-bash\">#!/bin/bash\n\nhexo clean\nhexo g\nhexo d\n</code></pre>\n<h4 id=\"hexo_publishbat\"><a class=\"anchor\" href=\"#hexo_publishbat\">#</a> hexo_publish.bat</h4>\n<pre><code class=\"language-bash\">@echo off\ncd D:\\blog\nd:\n@cmd /c &quot;hexo clean&amp;&amp; hexo g&amp;&amp;hexo d&amp;&amp;echo success&quot;\n</code></pre>\n",
"tags": [
"技术分享",
"心得体会",
@@ -123,7 +123,7 @@
"url": "https://blog.jingxiyuan.cn/1970/01/01/hello-world/",
"title": "Hello World",
"date_published": "1970-01-01T00:00:00.000Z",
"content_html": "<p>Welcome to <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvLw==\">Hexo</span>! This is your very first post. Check <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mv\">documentation</span> for more info. If you get any problems when using Hexo, you can find the answer in <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3MvdHJvdWJsZXNob290aW5nLmh0bWw=\">troubleshooting</span> or you can ask me on <span class=\"exturl\" data-url=\"aHR0cHM6Ly9naXRodWIuY29tL2hleG9qcy9oZXhvL2lzc3Vlcw==\">GitHub</span>.</p>\n<h2 id=\"quick-start\"><a class=\"anchor\" href=\"#quick-start\">#</a> Quick Start</h2>\n<h3 id=\"create-a-new-post\"><a class=\"anchor\" href=\"#create-a-new-post\">#</a> Create a new post</h3>\n<figure class=\"highlight bash\"><figcaption data-lang=\"bash\"><span>h</span></figcaption><table><tr><td data-num=\"1\"></td><td><pre>$ hexo new <span class=\"token string\">\"My New Post\"</span></pre></td></tr></table></figure><p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mvd3JpdGluZy5odG1s\">Writing</span></p>\n<h3 id=\"run-server\"><a class=\"anchor\" href=\"#run-server\">#</a> Run server</h3>\n<figure class=\"highlight bash\"><figcaption data-lang=\"bash\"><span>h</span></figcaption><table><tr><td data-num=\"1\"></td><td><pre>$ hexo server</pre></td></tr></table></figure><p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mvc2VydmVyLmh0bWw=\">Server</span></p>\n<h3 id=\"generate-static-files\"><a class=\"anchor\" href=\"#generate-static-files\">#</a> Generate static files</h3>\n<figure class=\"highlight bash\"><figcaption data-lang=\"bash\"><span>h</span></figcaption><table><tr><td data-num=\"1\"></td><td><pre>$ hexo generate</pre></td></tr></table></figure><p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3MvZ2VuZXJhdGluZy5odG1s\">Generating</span></p>\n<h3 id=\"deploy-to-remote-sites\"><a class=\"anchor\" href=\"#deploy-to-remote-sites\">#</a> Deploy to remote sites</h3>\n<figure class=\"highlight bash\"><figcaption data-lang=\"bash\"><span>h</span></figcaption><table><tr><td data-num=\"1\"></td><td><pre>$ hexo deploy</pre></td></tr></table></figure><p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mvb25lLWNvbW1hbmQtZGVwbG95bWVudC5odG1s\">Deployment</span></p>\n",
"content_html": "<p>Welcome to <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvLw==\">Hexo</span>! This is your very first post. Check <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mv\">documentation</span> for more info. If you get any problems when using Hexo, you can find the answer in <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3MvdHJvdWJsZXNob290aW5nLmh0bWw=\">troubleshooting</span> or you can ask me on <span class=\"exturl\" data-url=\"aHR0cHM6Ly9naXRodWIuY29tL2hleG9qcy9oZXhvL2lzc3Vlcw==\">GitHub</span>.</p>\n<h2 id=\"quick-start\"><a class=\"anchor\" href=\"#quick-start\">#</a> Quick Start</h2>\n<h3 id=\"create-a-new-post\"><a class=\"anchor\" href=\"#create-a-new-post\">#</a> Create a new post</h3>\n<pre><code class=\"language-bash\">$ hexo new &quot;My New Post&quot;\n</code></pre>\n<p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mvd3JpdGluZy5odG1s\">Writing</span></p>\n<h3 id=\"run-server\"><a class=\"anchor\" href=\"#run-server\">#</a> Run server</h3>\n<pre><code class=\"language-bash\">$ hexo server\n</code></pre>\n<p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mvc2VydmVyLmh0bWw=\">Server</span></p>\n<h3 id=\"generate-static-files\"><a class=\"anchor\" href=\"#generate-static-files\">#</a> Generate static files</h3>\n<pre><code class=\"language-bash\">$ hexo generate\n</code></pre>\n<p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3MvZ2VuZXJhdGluZy5odG1s\">Generating</span></p>\n<h3 id=\"deploy-to-remote-sites\"><a class=\"anchor\" href=\"#deploy-to-remote-sites\">#</a> Deploy to remote sites</h3>\n<pre><code class=\"language-bash\">$ hexo deploy\n</code></pre>\n<p>More info: <span class=\"exturl\" data-url=\"aHR0cHM6Ly9oZXhvLmlvL2RvY3Mvb25lLWNvbW1hbmQtZGVwbG95bWVudC5odG1s\">Deployment</span></p>\n",
"tags": []
}
]