产品推广 Blogine V1.0.0 - 基于 Ruby on Rails 的开源博客

Zoker · April 07, 2020 · Last by 1637248754 replied at August 15, 2021 · 6111 hits

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

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

输入图片说明

码云: https://gitee.com/kesin/blogine
Github:https://github.com/kesin/blogine
在线演示 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

Reply to pynix

哈哈哈,简称 Thinker Mark Down

作者刚才我看了一下代码,当我看到前端的时候我迷惑了,使用什么 gem 写的吗? 还有就是我想用你的这个代码搭建一个博客😃

代码没细看,首先这 UI 就很清爽。

Reply to 1637248754

管理后台基于 bootstrap admin 写的,其它的都是自己写的

Reply to gaicitadie

就是因为找不到自己喜欢的 UI,所以才自己写了个

Reply to Zoker

不知道为什么生产环境下,css 样式不显示,在 docker 里面,在我服务器上面就正常

Reply to Zoker

好了,那个不显示 css 是也得失误,现在解决了

You need to Sign in before reply, if you don't have an account, please Sign up first.