caok / books-share

图书分享

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

books-share Build Status

This is the source code of books-share

Take a look

vps: http://book.nyepoch.com
vps(ip): http://198.199.86.209:9000
<最新代码> http://tao.weidaxue.me

Requirements

  • Ruby 1.9.3
  • MySQL
  • rbenv
  • sphinxsearch
  • nodejs
  • pdf2htmlEX

development setup

  • rename /config/database.yml.example to /config/database.yml
  • rename /config/application.yml.example to /config/application.yml
  • rake secret
  • sudo apt-get install sphinxsearch (mac: brew install sphinx --mysql )
  • sudo apt-get install nodejs (mac: brew install node)
  • rake db:setup
  • rake ts:configure
  • rake ts:index
  • rake ts:start
  • RAILS_ENV=development script/delayed_job start

install pdf2htmlEx

  • sudo apt-get install software-properties-common
  • sudo add-apt-repository ppa:coolwanglu/pdf2htmlex
  • sudo apt-get update
  • sudo apt-get install pdf2htmlEX
  • pdf2htmlEX -v

Changed Log

  • 06/11/2013 redeploy vps with the avatar uploaded
  • 06/14/2013 add read online function
  • 08/12/2013 add delayed_job for sending_to_kindle

About

图书分享


Languages

Language:JavaScript 92.3%Language:Ruby 5.8%Language:CSS 1.7%Language:Shell 0.1%Language:CoffeeScript 0.1%