分享文章和视频 https://www.rails365.net
This is the source code of rails365.net website.
-
rails 4
-
postgresql
-
redis
-
elasticsearch
-
imagemagick
-
memcached
$ brew install redis postgresql imagemagick gs elasticsearch
$ sudo apt-get install postgresql-9.4 redis-server imagemagick ghostscript
postgresql, redis, elasticsearch, memcached 服务必须启动好
$ bundle install
$ cp config/database.yml.example config/database.yml
$ cp config/settings.yml.example config/settings.yml
$ bundle exec rake db:migrate
$ bundle exec spring rails server
$ bundle exec sidekiq
bundle exec guard
或者
bundle exec spring rspec
Copyright (c) 2015-2016 rails365
Released under the MIT license: