Go to file
yafeilee 033339182b Adjust comment and qrcode feature 2016-04-24 00:43:05 +08:00
app Adjust comment and qrcode feature 2016-04-24 00:43:05 +08:00
bin add spring 2014-05-11 18:54:28 +08:00
config Refactor comment and qrcode 2016-04-23 14:47:50 +08:00
db refactor admin post blog feature without angularjs 2016-04-21 18:07:55 +08:00
doc Fixed deprecated info 2016-03-08 23:26:55 +08:00
lib add simple form configure 2014-12-31 01:02:31 +08:00
log Fixed deprecated info 2016-03-08 23:26:55 +08:00
public update favicon 2015-09-11 19:52:52 +08:00
script Fixed deprecated info 2016-03-08 23:26:55 +08:00
spec Refactor database with pg and foudation6( stage 1 ) 2016-04-20 22:29:29 +08:00
vendor Fixed deprecated info 2016-03-08 23:26:55 +08:00
.ackrc fix repeat click like button when page refreshing 2015-04-05 09:10:10 +08:00
.gitignore refactor admin post blog feature without angularjs 2016-04-21 18:07:55 +08:00
.rspec rspec config 2016-03-08 23:27:49 +08:00
.travis.yml Travis ci script 2016-03-17 13:50:39 +08:00
Gemfile Refactor comment and qrcode 2016-04-23 14:47:50 +08:00
Gemfile.lock Refactor comment and qrcode 2016-04-23 14:47:50 +08:00
Guardfile Guardfile for rails 2016-03-08 23:28:27 +08:00
LICENSE Fixed deprecated info 2016-03-08 23:26:55 +08:00
README.md Update README.md 2016-03-05 22:12:03 +08:00
README.zh-CN.md Update README.zh-CN.md 2015-04-27 22:12:18 +08:00
Rakefile Fixed deprecated info 2016-03-08 23:26:55 +08:00
config.ru Fixed deprecated info 2016-03-08 23:26:55 +08:00

README.md

WBlog

Build Status Code Climate Test Coverage

The missing open source blog system on Ruby on Rails.

WBlog is open source blog which built for mobile first, it's licenced on MIT, use it for free!

中文说明文档

Characteristic:

  • Awful reading feeling for reader
  • Independent comment system, store data on your own sever
  • With mardown supported, you can post both powerful and clean formatted article(s)

A demo came from my English blog: http://en.yafeilee.me

Power Admin Dashboard: http://en.yafeilee.me/admin, user and password are configurable.

screenshot

System dependencies

  • Ruby ( >= 2.0 )
  • Mongodb ( >= 2.7 )
  • Nginx ( >= 1.4 )

Features

  • Responsive, iPhone, iPad, Notebook, PC, all are supported
  • QR Code attached article, scan and share it
  • Inpendent comment system, managed by yourself
  • Markdown supported, code highlight, especially for programmer, like you
  • Personalize it, commercialize it, it all depends on you

Goal

Make it to the best Ruby on Rails Blog system in the world.

Study it locally

WBlog MUST run in Linux or Mac, it depends on Mongodb database. You can run it like a Ruby on Rails project as usual:

  1. Clone it

git clone git@github.com:windy/wblog.git

cd wblog

  1. Install dependencies & configure
# Install mongodb ( see how to install it on your platform )
# on Mac, you can install it like this:
brew install mongodb 
bundle install
cp config/application.yml.example config/application.yml
cp config/mongoid.yml.example config/mongoid.yml

Update application.yml & mongoid.yml as you need

  1. Start it
rails s

If there is any error found, please check your database's user and password.

  1. Post the first article

visit: http://127.0.0.1:3000/admin, input your username and password that is just configurated in application.yml. then, post a new article.

OK, That's all.

Deployment

WBlog uses mina as automation deployment tool, uses unicorn as the Rack container.

WBlog recommends nginx as reverse proxy server.

It will be very fast.

Ruby on Rails project deployment is another big topic, I would NOT talk it here.

You can read WBlog wiki for more information: WBlog 的发布流程(Chinese only now)

Stack

  • Ruby on Rails 4.2.x / Ruby 2.x
  • AngularJS
  • Foundation 5
  • mina
  • slim
  • Mongodb