Blog Eye, you know, a platform for sharing blogs. Site url: http://www.blog-eye.com/
- Redis 2.2 +
- MySQL 5.5 +
- Ruby 2.0.0 +
- Rails 4.0.0 +
- ImageMagick 6.5 +
Make sure mysql already started.
git clone [email protected]:agilejzl/blog-eye.git
cd blog-eye && ruby setup.rb # Make project RTF
Then change config at database.yml and settings.yml
RAILS_ENV=development rails s
bundle exec sidekiq -e development # for async sending email and uploading
cap production deploy
By default bundler installs gems using the ruby.taobao.org source,
if you'd rather use the official one, set environment variable USE_OFFICIAL_GEM_SOURCE
:
USE_OFFICIAL_GEM_SOURCE=1
We use rspec and capybara to test.
RAILS_ENV=test rake db:setup
RAILS_ENV=test rails s
Make sure already installed firefox.
bundle exec rspec -fd
bundle exec rspec -fd ./spec/features # Run only features test
For online doc: http://rubydoc.info/github/agilejzl/blog-eye
yard server --reload # For local, visit http://localhost:8808/
Copyright (c) 2014 Blog Eye
Released under the MIT license: