Skip to content
a multi-users multi-blogs blog system http://github.com/johnson/mubs/wikis
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
stories
test
vendor/plugins
.gitignore
Capfile
README
README.textile
Rakefile
config.ru

README.textile

welcome to mubs — mulit-users mulit-blogs blog system

http://github.com/johnson/mubs/wikis

上手指南

检出代码

git clone git://github.com/johnson/mubs.git (或者 http://github.com/johnson/mubs.git 如果只能访问80端口)
cd mubs

安装需要的gem

IDN 这个gem需要先装 GNU 的 IDN lib http://www.gnu.org/software/libidn/


sudo apt-get install idn
sudo yum install idn
sudo port install idn

推荐下载源码安装最新版
如果window环境下可以把 User model里的validate注释掉,去掉IDN支持

sudo rake gems:install

设置启动

编辑 config/database.yml 符合你的数据库设置


rake db:migrate
rake globalize:setup
ruby script/server

浏览 http://127.0.0.1:3000

运行测试

测试


rake spec

测试并查看spec规格文档

rake spec:doc

编码通过测试

开发

给coreteam发出pull请求

Something went wrong with that request. Please try again.