Skip to content

holymonson/ruby-china

 
 

Repository files navigation

Ruby-China

This is the source code of Ruby China website.

Build Status

Install

  • You need Ruby 1.9.2+, Rubygems and Rails 3.2+ first.
  • Install and start Redis, MongoDB, memcached, Python, Pygments

and run:

cp config/config.yml.default config/config.yml
cp config/mongoid.yml.default config/mongoid.yml
cp config/redis.yml.default config/redis.yml
cp config/thin.yml.default config/thin.yml
bundle install
rake assets:precompile
rake db:seed
thin start -O -C config/thin.yml
./script/resque start
bundle exec rake sunspot:solr:start
easy_install pygments # 或者 pip install pygments
rake db:migrate

or you can just this issue

rake test:init

to prepare all the config files and start essential services.

Deploy

$ cap deploy
$ cap production remote_rake:invoke task=db:setup

Apply Google JSAPI

Memcached

Dalli requires memcached 1.4.x +

Contributors

Thanks

Forked from Homeland Project

License

Copyright (c) 2011-2012 Ruby China

Released under the MIT license:

About

ruby-china.org website source code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published