| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
codeboy.me的网站模板
其中搜索模块可以单独安装,地址如下
本工程实时预览地址 blogtest.codeboy.me
博客可以简单的搭配微信小程序查看, 具体查看 https://github.com/androiddevelop/WechatBlog
安装jeykll
gem install jekyll gem install jekyll-paginate
将CodeboyBlog复制到服务器(部署到github.io的方式自行搜索)。
运行命令生成网站即可(经常改变配置的话不建议增量更新)。
jekyll serve --watch & jekyll serve --watch --incremental & ##增量更新
为了能够更好的生成网站,我们可以写一个脚本:
```
#!/bin/bash
ps aux |grep jekyll |awk '{print $2}' | xargs kill -9
cd /path/to/blog
jekyll serve --watch &
```
ps开头的命令是关闭所有jekyll的进程
cd到网站的根目录
启动jekyll服务
Copyright 2016 Yuedong.li Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
有任何问题,欢迎发送邮件到app@codeboy.me交流.
| Back | FazBrowse Home | New Git URL |