Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
115 lines (79 sloc) 2.85 KB

中国「软件匠艺小组」

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.