1 Star 0 Fork 10

Admin / Blogine

forked from Zoker / Blogine 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Blogine - 基于 Ruby on Rails 的开源博客

项目是基于Rails的一款开源的个人单博客系统。

输入图片说明

在线演示 https://zoker.io/

功能

  • 文章发布(MD编辑器采用码云开源的 TMD
  • 标签管理(支持多标签管理)
  • 分类管理(支持多分类管理)
  • 评论管理(评论验证码,审核机制)
  • 页面管理(单页面管理)
  • 搜索(使用Solr进行索引)
  • 后台管理

功能截图

首页

输入图片说明

文章界面

输入图片说明

搜索功能

输入图片说明

后台登录

输入图片说明

发布博客

输入图片说明

博客设置

输入图片说明

使用

项目基于 Ruby 2.3.8 及以上

  1. git clone https://gitee.com/kesin/blogine
  2. cd blogine
  3. bundle install
  4. cp database.yml.example database.yml #修改数据库配置
  5. cp blogine.yml.example blogine.yml #修改博客配置
  6. cp puma.rb.example puma.rb
  7. bundle exec rake db:migrate
  8. cp development.rb.example development.rb
  9. bundle exec puma
创建用户

执行 bundle exec rake 'generate_user['name','email','password']' RAILS_ENV=xxx

社交链接修改

mv app/views/layouts/_social_account.html.haml.example app/views/layouts/_social_account.html.haml

访问 http://127.0.0.1:3003

搜索配置(可选)

  • 如果不需要搜索功能,可以将blogine.yml中的enable_search: false设置为false
  • 如果需要搜索功能,可以设置为true
配置Solr
  • Java: JDK 1.7.X 以上
  • 初始化:rails generate sunspot_rails:install
  • 启动:bundle exec rake sunspot:solr:start
  • 如果已经有数据,需要执行重新构建索引:bundle exec rake sunspot:reindex

生产环境下需要更改如下配置:

  1. cp blogine/solr/default blogine/solr/production
  2. 并修改blogine/solr/production/core.propertiesnameproduction

贡献代码

  1. Fork 项目
  2. 创建本地分支 (git checkout -b my-new-feature)
  3. 提交更改 (git commit -am 'Add some feature')
  4. 推送到分支 (git push origin my-new-feature)
  5. 创建一个 Pull Request

贡献者

@Zoker

MIT License Copyright (c) 2020 Zoker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 Ruby on Rails 的一款开源的个人博客系统,支持分类、标签、搜索、验证码、单页面等功能 展开 收起
Ruby
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Ruby
1
https://gitee.com/wellxy_admin/blogine.git
git@gitee.com:wellxy_admin/blogine.git
wellxy_admin
blogine
Blogine
master

搜索帮助