halo/README.md

131 lines
5.5 KiB
Markdown
Raw Normal View History

2018-03-22 06:32:21 +00:00
<h1><a href="#" target="_blank">Halo</a></h1>
2018-03-22 13:22:23 +00:00
> Halo may be the best Java blog system. | Halo可能是最好的Java博客系统。
2018-03-22 06:32:21 +00:00
2018-04-03 10:00:51 +00:00
[![JDK](https://img.shields.io/badge/JDK-1.8-yellow.svg)](#)
2018-03-22 06:32:21 +00:00
[![GitHub release](https://img.shields.io/github/release/ruibaby/halo.svg)](https://github.com/ruibaby/halo/releases)
2018-04-10 02:27:40 +00:00
[![Travis CI](https://img.shields.io/travis/ruibaby/halo.svg)](https://travis-ci.org/ruibaby/halo)
2018-03-22 06:32:21 +00:00
------------------------------
## 目录
2018-05-02 14:40:00 +00:00
- [Introduction 简介](#introduction-简介)
- [Quickstart 快速开始](#quickstart-快速开始)
- [Demo 演示](#demo-演示)
2018-05-11 12:47:51 +00:00
- [Download 下载部署](#download-下载部署)
2018-05-02 14:40:00 +00:00
- [Docs 文档](#docs-文档)
2018-05-11 12:47:51 +00:00
- [Themes 主题](#themes-主题)
2018-05-02 14:40:00 +00:00
- [License 许可证](#license-许可证)
- [Todo 后续功能](#todo-后续功能)
- [Thanks 感谢](#thanks-感谢)
2018-06-02 10:02:59 +00:00
- [Donate 捐赠](#donate-捐赠)
2018-03-22 06:32:21 +00:00
## Introduction 简介
2018-05-11 12:47:51 +00:00
**Halo** [ˈheɪloʊ],意为光环。当然,你也可以当成拼音读(哈喽)。
2018-03-22 06:32:21 +00:00
轻快简洁功能强大使用Java开发的博客系统。
2018-06-02 10:02:59 +00:00
> Halo交流群: 162747721
2018-04-14 10:06:03 +00:00
## Quickstart 快速开始
```bash
git clone https://github.com/ruibaby/halo.git
cd halo
mvn clean package -Pprod
2018-07-19 07:26:25 +00:00
java -jar target/dist/halo/halo-latest.jar
2018-04-14 10:06:03 +00:00
```
2018-08-01 03:20:18 +00:00
服务器快速部署暂时仅支持CentOS
```bash
# 安装Halo
yum install -y wget && wget http://static.ryanc.cc/halo-cli.sh && sh halo-cli.sh 1
# 更新Halo
sh halo-cli.sh 2
```
2018-06-02 10:02:59 +00:00
> 注意如使用IdeaEclipse等IDE运行的话需要安装Lombok插件。
2018-05-11 12:47:51 +00:00
Let's start: http://localhost:8090
2018-03-22 06:32:21 +00:00
## Demo 演示
2018-06-29 07:54:51 +00:00
[测试地址](http://149.28.63.223)[测试后台(admin,123456)](http://149.28.63.223/admin)
[Ryan0up'S Blog](https://ryanc.cc)
[SNAIL BLOG](https://slogc.cc)
2018-03-22 06:32:21 +00:00
2018-05-04 17:01:34 +00:00
[宋浩志博客](http://songhaozhi.com)
2018-05-02 14:40:00 +00:00
2018-05-11 12:47:51 +00:00
## Download 下载部署
2018-07-19 07:26:25 +00:00
> 如需部署到服务器,请参考[Halo部署教程](https://ryanc.cc/archives/halo-run-with-git-maven)或者[Wiki](https://github.com/ruibaby/halo/wiki)。
2018-03-22 06:32:21 +00:00
## Docs 文档
2018-04-08 08:07:00 +00:00
[Halo Document](https://halo-doc.ryanc.cc)
2018-03-22 06:32:21 +00:00
2018-06-02 10:02:59 +00:00
> 文档正在不断完善中。
2018-05-11 12:47:51 +00:00
## Themes 主题
除了内置的[Anatole](https://github.com/hi-caicai/farbox-theme-Anatole)和[Material](https://github.com/viosey/hexo-theme-material),还有下列主题没有集成在项目里,如有需要,请自行下载之后通过后台上传上去使用。
- [Vno](https://github.com/ruibaby/vno-halo) - 来自Jekyll的一款主题作者[Wei Wang](https://onevcat.com/)。
- [Hux](https://github.com/ruibaby/hux-halo) - 来自Jekyll的一款主题作者[Xuan Huang](https://huangxuan.me/)。
2018-08-14 08:57:53 +00:00
- [Story](https://github.com/ruibaby/story-halo) - 来自Typecho的一款主题作者[Trii Hsia](https://yumoe.com/)。
2018-03-22 06:32:21 +00:00
2018-07-20 09:00:27 +00:00
> 声明:不接受任何对**移植主题**功能上的意见和建议。
2018-03-22 06:32:21 +00:00
## License 许可证
2018-04-03 10:00:51 +00:00
[![license](https://img.shields.io/github/license/ruibaby/halo.svg)](https://github.com/ruibaby/halo/blob/master/LICENSE)
2018-03-22 06:32:21 +00:00
2018-06-02 10:02:59 +00:00
> Halo使用GPL-v3.0协议开源,请尽量遵守开源协议,即便是在中国。
2018-05-11 12:47:51 +00:00
2018-05-02 14:40:00 +00:00
## Todo 后续功能
- [x] 文章阅读统计
2018-05-02 14:40:00 +00:00
- [ ] 文章顶置
- [ ] 集成又拍云,七牛云等云服务
2018-03-22 06:32:21 +00:00
## Thanks 感谢
Halo的诞生离不开下面这些项目
2018-03-22 12:01:03 +00:00
2018-04-08 04:02:30 +00:00
- [IntelliJ IDEA](https://www.jetbrains.com/idea/)个人认为最强大的Java IDE没有之一
2018-03-22 12:01:03 +00:00
- [Spring Boot](https://github.com/spring-projects/spring-boot)Spring的微服务框架
- [Freemarker](https://freemarker.apache.org/):模板引擎,使页面静态化
2018-03-22 12:01:03 +00:00
- [H2 Database](https://github.com/h2database/h2database):嵌入式数据库,无需安装
- [Druid](https://github.com/alibaba/druid):阿里开发的连接池
- [Spring-data-jpa](https://github.com/spring-projects/spring-data-jpa.git)不需要写sql语句的持久层框架
- [Ehcache](http://www.ehcache.org/):缓存框架
2018-03-22 12:01:03 +00:00
- [Lombok](https://www.projectlombok.org/):让代码更简洁
- [Apache Commons](http://commons.apache.org/)非常好用的Java工具库
2018-03-22 12:01:03 +00:00
- [oh-my-email](https://github.com/biezhi/oh-my-email)可能是最小的Java邮件发送库了支持抄送、附件、模板等
2018-06-02 10:02:59 +00:00
- [Hutool](https://github.com/looly/hutool)一个Java基础工具类
2018-07-19 07:26:25 +00:00
- [Thumbnailator](https://github.com/coobird/thumbnailator):缩略图生成库
2018-03-22 12:01:03 +00:00
- [AdminLTE](https://github.com/almasaeed2010/AdminLTE)基于Bootstrap的后台模板
- [Bootstrap](https://github.com/twbs/bootstrap.git)使用最广泛的前端ui框架
- [Animate](https://github.com/daneden/animate.css.git)非常好用的css动效库
- [Editor.md](https://github.com/pandao/editor.md.git)Markdown前端编辑器遗憾作者弃坑了
2018-04-04 03:17:07 +00:00
- [Editor.md](https://github.com/hawtim/editor.md)Editor.mdhawtim接过来维护的版本
- [Bootstrap-FileInput](https://github.com/kartik-v/bootstrap-fileinput.git):个人认为最好用的上传组件,没有之一
- [Font-awesome](https://github.com/FortAwesome/Font-Awesome.git):使用最广泛的字体图标库
- [Jquery](https://github.com/jquery/jquery.git)使用最广泛的JavaScript框架
- [Layer](https://github.com/sentsin/layer.git):个人认为最实用最好看的弹出层组件,没有之一
- [Jquery-Toast](https://github.com/kamranahmedse/jquery-toast-plugin):消息提示组件
- [Pjax](https://github.com/defunkt/jquery-pjax.git)pushState + ajax = pjax
2018-07-19 07:26:25 +00:00
- [OwO](https://github.com/DIYgod/OwO):前端表情库
2018-05-11 12:47:51 +00:00
2018-06-02 10:02:59 +00:00
## Donate 捐赠
> 如果Halo对你有帮助可以请作者喝瓶娃哈哈哈哈哈哈哈哈哈哈。
| 支付宝 | 微信 |
| :------------: | :------------: |
2018-08-14 08:57:53 +00:00
| <img src="https://cdn.ryanc.cc/img/github/donate/alipay.png" width="150"/> | <img src="https://cdn.ryanc.cc/img/github/donate/wechat.png" width="150" /> |