All Projects → jinhucheung → Milog

jinhucheung / Milog

Milog 是一基于 Ruby on Rails 的个人博客网站

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Milog

Instuigram
🎓 Learning Ruby on Rails through building the Instagram Application.
Stars: ✭ 88 (+266.67%)
Mutual labels:  rails, bootstrap
Databook
A facebook for data
Stars: ✭ 26 (+8.33%)
Mutual labels:  elasticsearch, bootstrap
Bootstrap form
Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
Stars: ✭ 1,532 (+6283.33%)
Mutual labels:  rails, bootstrap
X Editable Rails
Edit fields easily with X-Editable helper
Stars: ✭ 159 (+562.5%)
Mutual labels:  rails, bootstrap
Pagy
🏆 The Best Pagination Ruby Gem 🥇
Stars: ✭ 3,340 (+13816.67%)
Mutual labels:  rails, bootstrap
Tabler Rubygem
Rubygem for https://tabler.github.io
Stars: ✭ 77 (+220.83%)
Mutual labels:  rails, bootstrap
Ruby2 Rails4 Bootstrap Heroku
A starter application based on Ruby 2.4, Rails 4.2 and Bootstrap for Sass 3, deployable on Heroku
Stars: ✭ 181 (+654.17%)
Mutual labels:  rails, bootstrap
Redmine bootstrap kit
A Redmine plugin which makes developing your own Redmine plugin easy ;)
Stars: ✭ 36 (+50%)
Mutual labels:  rails, bootstrap
Elasticsearch Rails
Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
Stars: ✭ 2,896 (+11966.67%)
Mutual labels:  elasticsearch, rails
Od Database
Distributed crawler, database and web frontend for public directories indexing
Stars: ✭ 121 (+404.17%)
Mutual labels:  elasticsearch, bootstrap
Docker Rails
Dockerize Rails 6 with ActionCable, Webpacker, Stimulus, Elasticsearch, Sidekiq
Stars: ✭ 856 (+3466.67%)
Mutual labels:  elasticsearch, rails
Bootsy
Disclaimer: this project is no longer maintained.
Stars: ✭ 455 (+1795.83%)
Mutual labels:  rails, bootstrap
Api.rss
RSS as RESTful. This service allows you to transform RSS feed into an awesome API.
Stars: ✭ 340 (+1316.67%)
Mutual labels:  elasticsearch, rails
Bh
Bootstrap Helpers for Ruby
Stars: ✭ 834 (+3375%)
Mutual labels:  rails, bootstrap
Libraries.io
📚 The Open Source Discovery Service
Stars: ✭ 903 (+3662.5%)
Mutual labels:  rails
Foundation Datetimepicker Rails
foundation-datetimepicker-rails
Stars: ✭ 22 (-8.33%)
Mutual labels:  rails
Webside
基于RBAC的完全响应式权限管理系统
Stars: ✭ 19 (-20.83%)
Mutual labels:  bootstrap
Hugo Elasticsearch
Generate Elasticsearch indexes for Hugo static sites by parsing front matter
Stars: ✭ 19 (-20.83%)
Mutual labels:  elasticsearch
Partially useful
📑 👀 Helps identifying partials in verbose HTML source code.
Stars: ✭ 23 (-4.17%)
Mutual labels:  rails
Rails Api And Angularjs
Integration between rails and angularjs which includes rspec tests.
Stars: ✭ 22 (-8.33%)
Mutual labels:  rails

Milog

一基于 Ruby on Rails 的个人博客网站 https://milog-demo.herokuapp.com/

游客账号: Email [email protected] | Password 123456

静态页面: https://github.com/jinhucheung/milog/tree/static_pages

特点

  • 支持 Bootstrap, 实现响应式设计

  • 使用 Markdown 作为编辑文本格式, 主要由 Markdown-it 在客户端进行解析渲染, motion-markdown-it 负责后端解析

  • Markdown 支持 Emoji

  • 实现 Markdown 工具栏

  • 使用 bcrypt 加密用户重要资料

  • 可暂存用户编辑中的文本

  • Elasticsearch 作为全文搜索引擎, 可根据关键字搜索文章

  • 支持上传图片, 使用七牛存储

更新

2016/12/20

  • 增加社区模块

  • 修改用户主页, 增加用户关注功能

  • 增加消息通知系统

2017/1/30

2017/3/14

  • 实现 Milog Android 客户端 Milog-Android

  • 修复文章中图片尺寸过大, 溢出页面

2017/5/7

  • 将原先的 afeld.github.io/emoji-css 文件导入本地

  • 修复客户端用户未登录访问消息通知 404

2017/5/15

  • 后台添加用户后发送密码激活邮件至用户邮箱

  • 修复测试用例

Thanks

部署

环境

Ubuntu 14.04 / Git / Ruby 2.3.1 / Rails 5.0.0 / MariaDB 5.5.52

下载

git clone [email protected]:Hikumho/milog.git

数据库

安装 MariaDB

sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main'

sudo apt-get update
sudo apt-get install mariadb-server

项目配置

  1. 更新配置文件
cp config/local_env.yml.example config/local_env.yml
cp config/email.yml.example config/email.yml

修改 config/local_env.yml 中的 MYSQL 信息

  1. 安装 Gem
bundle install

其他问题可见 #FQA

  1. 迁移数据
rails db:create

rails db:migrate

rails db:seed

至此, 项目可在开发环境中运行

以下进行生产环境的部署

  1. 生成 App 密钥
require 'securerandom'

SecureRandom.hex(64)

并将密钥写入 config/secrets.ymlproduction 节点

  1. 部署七牛云

修改 config/local_env.yml 中的 QINIU 信息

具体配置请看 carrierwave-qiniu

  1. 部署邮件

修改 config/email.yml

FQA

  1. Imagemagick

本地可能由于没有安装 Imagemagick 导致 bundle install 出错

安装 Imagemagick: sudo apt-get install imagemagick

  1. Elasticsearch

安装 Elasticsearch: 教程

配置 Elasticsearch: bundle exec rake environment elasticsearch:import:model CLASS='Article' SCOPE='posted'

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].