https://github.com/kdstarter/blog-eye
Blog Eye, as you know, a platform for sharing your blogs.
https://github.com/kdstarter/blog-eye
blog rails
Last synced: 10 months ago
JSON representation
Blog Eye, as you know, a platform for sharing your blogs.
- Host: GitHub
- URL: https://github.com/kdstarter/blog-eye
- Owner: kdstarter
- Created: 2014-08-04T15:12:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-01T13:51:20.000Z (almost 8 years ago)
- Last Synced: 2024-11-11T10:42:36.106Z (over 1 year ago)
- Topics: blog, rails
- Language: Ruby
- Homepage: http://luck999.top:8888/
- Size: 682 KB
- Stars: 37
- Watchers: 4
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - blog-eye
README
Blog Eye: A platform for sharing blogs
=======
[][travis]
[][codeclimate]
[][coveralls]
[](http://waffle.io/agilejzl/blog-eye)
[][inch]
[travis]: http://travis-ci.org/agilejzl/blog-eye
[codeclimate]: https://codeclimate.com/github/agilejzl/blog-eye
[coveralls]: https://coveralls.io/r/agilejzl/blog-eye
[inch]: http://inch-ci.org/github/agilejzl/blog-eye
For Chinese, you can see wiki: [中文 Wiki](https://github.com/agilejzl/blog-eye/wiki)
Blog Eye, you know, a platform for sharing blogs. Site url: [http://www.blog-eye.com/](http://www.blog-eye.com/)
## Requirements
* Redis 2.2 +
* MySQL 5.5 +
* Ruby 2.1.0 +
* Rails 4.0.0 +
* ImageMagick 6.5 +
## Install
Make sure mysql already started.
```bash
git clone git@github.com:agilejzl/blog-eye.git
cd blog-eye && ruby setup.rb # Make project RTF
```
Then change config at database.yml and settings.yml
```bash
RAILS_ENV=development rails s
bundle exec sidekiq -e development # for async sending email and uploading
```
## Deploy
```bash
cap production deploy
```
## Gemfile
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`:
```bash
USE_OFFICIAL_GEM_SOURCE=1
```
## Test
We use rspec and capybara to test.
```bash
RAILS_ENV=test rake db:setup
RAILS_ENV=test rails s
```
Make sure already installed firefox.
```bash
bundle exec rspec -fd
bundle exec rspec -fd ./spec/features # Run only features test
```
## Documents
For online doc: [http://rubydoc.info/github/agilejzl/blog-eye](http://rubydoc.info/github/agilejzl/blog-eye)
```bash
yard server --reload # For local, visit http://localhost:8808/
```
## Contributors
* [Contributors](https://github.com/agilejzl/blog-eye/contributors)
## Thanks
* [Font Awesome](http://fontawesome.io/)
* [Twitter Bootstrap](http://getbootstrap.com/)
* [Qiniu (七牛云存储)](http://www.qiniu.com/)
## License
Copyright © 2014 Blog Eye
Released under the MIT license:
* [www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)