Skip to content
🎪 CodingStyle.cn website source code.
Branch: master
Clone or download
Pull request Compare This branch is 80 commits ahead, 1391 commits behind ruby-china:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
public
spec
test
.gitignore
.rspec
.rubocop.yml
.ruby-version
.travis.yml
Benchmarks.md
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
Vagrantfile
config.ru

README.md

中国「软件匠艺小组」

This is the source code of China Software Craftsmanship Group website.

Build Status

Requirements

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

Install in development

Vagrant

Install VirtualBox:

https://www.virtualbox.org/

Install Vagrant:

https://www.vagrantup.com/

Then:

$ vagrant up
$ vagrant ssh
$ cd /vagrant
/vagrant $ ./bin/setup
/vagrant $ rails s -b 0.0.0.0

Open http://localhost:3000 in host.

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
$ brew install gs

Ubuntu

$ sudo apt-get install memcached mongodb redis-server imagemagick ghostscript
$ git clone https://github.com/hkliya/codingstyle.cn.git
$ cd codingstyle.cn
$ ./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 ==

Successfully Installed.

$ rails s

Testing

bundle exec rake

Contributors

Thanks

Forked from Homeland Project Theme from Mediom

License

Copyright (c) 2011-2015 Coding Style

Released under the MIT license:

You can’t perform that action at this time.