Git Product home page Git Product logo

blog-eye's Introduction

Blog Eye: A platform for sharing blogs

Build Status Code Climate Coverage Status Security Inline docs

Blog Eye, you know, a platform for sharing blogs. Site url: http://www.blog-eye.com/

Requirements

  • Redis 2.2 +
  • MySQL 5.5 +
  • Ruby 2.0.0 +
  • Rails 4.0.0 +
  • ImageMagick 6.5 +

Install

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  

Deploy

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:

USE_OFFICIAL_GEM_SOURCE=1  

Test

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  

Documents

For online doc: http://rubydoc.info/github/agilejzl/blog-eye

yard server --reload # For local, visit http://localhost:8808/  

Contributors

Thanks

License

Copyright (c) 2014 Blog Eye

Released under the MIT license:

blog-eye's People

Contributors

kdstarter avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.