Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ruby-china.org website source code.
Ruby JavaScript HTML CSS CoffeeScript
Branch: master
#427 Compare This branch is 1230 commits ahead, 1 commit behind huacnlee:master.

README.md

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:

Something went wrong with that request. Please try again.