Git Product home page Git Product logo

ruby-china's Introduction

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:

ruby-china's People

Contributors

huacnlee avatar xdite avatar ashchan avatar chloerei avatar forresty avatar qichunren avatar fredwu avatar hsatac avatar synnaxcrab avatar quake avatar siuying avatar ichord avatar cqpx avatar lgn21st avatar xiaods avatar weih avatar hechien avatar domon avatar linjunpop avatar yorkxin avatar flaneur2020 avatar ywjno avatar camsong avatar hisea avatar hungyuhei avatar doitian avatar psli avatar ranmocy avatar songlipeng2003 avatar solotimes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.