# ruby-china **Repository Path**: mirrors_belerweb/ruby-china ## Basic Information - **Project Name**: ruby-china - **Description**: ruby-china.org website source code. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Ruby China This is the source code of [Ruby China](http://ruby-china.org) website. [![Build Status](https://secure.travis-ci.org/ruby-china/ruby-china.png?branch=master&.png)](http://travis-ci.org/ruby-china/ruby-china) ## Requirements * Ruby 1.9.3 * Memcached 1.4+ * Redis 2.2+ * MongoDb 2.0+ * ImageMagick 6.5+ * libpng ## Install ```bash git clone git://github.com/ruby-china/ruby-china.git cd ruby-china ruby setup.rb # ensure that memcached has started up rails s ``` ## Start Sidekiq service ```bash # Sidekiq # ensure that redis has started up bundle exec sidekiq -C config/sidekiq.yml ``` ## Testing ```bash bundle exec rspec spec ``` to prepare all the config files and start essential services. ## JavaScript Testing Start test server using: ```bash bundle exec rake jasmine ``` By default, jasmine picks port 8888. After the server is started, open the prompted URL in browser. The port can be changed by setting `JASMINE_PORT`: ```bash JASMINE_PORT=123456 bundle exec rake jasmine ``` Chrome is used as the default driver, please download proper driver for your system from . Set environment variable `JASMINE_BROWSER` to use other browsers, e.g., firefox: ```bash JASMINE_PORT=123456 JASMINE_PORT=firefox bundle exec rake jasmine ``` ### Headless Testing Headless testing should use following command: ```bash bundle exec rake jasmine:ci ``` On the CI server, Xvfb should be started first. See but install chromium-browser instead. E.g., for Ubuntu server: sudo apt-add-repository ppa:chromium-daily/ppa sudo apt-get update sudo apt-get install chromium-browser ## Apply Google JSAPI * http://code.google.com/intl/zh-CN/apis/loader/signup.html ## Contributors * [Contributors](https://github.com/ruby-china/ruby-china/contributors) ## Thanks * [Twitter Bootstrap](https://twitter.github.com/bootstrap) * [GentleFace Icons](http://www.gentleface.com/free_icon_set.html) Forked from [Homeland Project](https://github.com/huacnlee/homeland) ## License Copyright (c) 2011-2012 Ruby China Released under the MIT license: * [www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)