Skip to content

daicong210/ruby-china

 
 

Repository files navigation

Ruby China

This is the source code of Ruby China website.

Build Status

Requirements

  • Ruby 2.2.0 +
  • Memcached 1.4 +
  • Redis 2.2 +
  • MongoDb 2.4.4 +
  • ImageMagick 6.5+

Install in development

Mac OS X, use Homebrew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install memcached
$ brew install redis
$ brew install mongodb
$ brew install imagemagick

Ubuntu*

$ sudo apt-get install memcached mongodb redis-server imagemagick
$ git clone https://github.com/ruby-china/ruby-china.git
$ cd ruby-china
$ ./bin/setup
Checking Package Dependencies...
--------------------------------------------------------------------------------
MongoDB 2.0+                                                               [Yes]
Redis 2.0+                                                                 [Yes]
Memcached 1.4+                                                             [Yes]
ImageMagick 6.5+                                                           [Yes]
--------------------------------------------------------------------------------

Installing dependencies
--------------------------------------------------------------------------------
The Gemfile's dependencies are satisfied
--------------------------------------------------------------------------------

Configure
--------------------------------------------------------------------------------
Your MongoDB host (default: 127.0.0.1:27017):
Your Redis host (default: 127.0.0.1:6379):
--------------------------------------------------------------------------------

Seed default data...                                                      [Done]

== Removing old logs and tempfiles ==

Ruby China Successfully Installed.

$ rails s

Testing

bundle exec rspec spec

Contributors

Thanks

Forked from Homeland Project Theme from Mediom

Sites

License

Copyright (c) 2011-2015 Ruby China

Released under the MIT license:

About

ruby-china.org website source code.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 46.0%
  • JavaScript 26.0%
  • HTML 16.9%
  • CSS 7.5%
  • CoffeeScript 3.6%