rails365 是一个分享有用,有趣的编程技术文章和视频教程的技术网站。
Ruby HTML CSS Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app fix error Apr 19, 2018
bin 升级 5.2.0 Apr 17, 2018
config fix error Apr 19, 2018
db 邮件发送问题 Apr 18, 2018
features fix test Apr 17, 2018
lib 邮件发送问题 Apr 18, 2018
log fix commit Aug 21, 2015
public fix typo Nov 21, 2017
script add cucumber test Jun 2, 2016
spec fix test Apr 17, 2018
vendor/assets 修复样式功能 Apr 18, 2018
.gitignore add letter avatar Apr 11, 2017
.rspec add pg and rspec Aug 21, 2015
.rubocop.yml fix rubocop May 28, 2016
.ruby-version 升级ruby和添加guard May 25, 2016
.travis.yml fix typo Mar 20, 2017
Capfile update cap whenever Dec 7, 2017
Gemfile fix error Apr 18, 2018
Gemfile.lock fix error Apr 18, 2018
Guardfile add cucumber test Jun 2, 2016
LICENSE add license Jun 3, 2016
README.md fix error Apr 19, 2018
Rakefile fix commit Aug 21, 2015
config.ru add rubocop May 28, 2016

README.md

rails365

分享文章和视频 https://www.rails365.net

This is the source code of rails365.net website.

codecov License

依赖:

  • ruby 2.5.1

  • rails 5.2.0

  • postgresql

  • redis

  • elasticsearch

  • imagemagick

安装:

Mac OS X

$ brew install redis postgresql imagemagick gs elasticsearch

Ubuntu

$ 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

License

Copyright (c) 2015-2018 rails365

Released under the MIT license: