Skip to content

基于 flexpaper 做的小程序,类式于百度文档,上传pdf文件,自动转成swf,由 flexpaper 做在线阅读

Notifications You must be signed in to change notification settings

sunbo/flexpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于flexpaper做的小程序,类式于百度文档,上传pdf文件,自动转成swf,由flexpaper做在线阅读
目前只做了管理员整体上传文件,如需用户自己上传,可做修改 目前没有样式。

ruby1.8.7  +  rails2.3.11

http://code.google.com/p/flexpaper/downloads/list 

http://flexpaper.devaldi.com/demo/

使用
修改config/database.yml
修改config/settings.yml default_password是默认密码
修改db/seeds.rb里面的内容初始化部门和人员信息

rake db:create  #建库
rake db:migrate #建表
rake db:seed   #导入初始化信息

安装swftools
根据系统不同下载不同swftools http://www.swftools.org/download.html
wget http://www.swftools.org/swftools-0.9.1.tar.gz
./configure --prefix=/usr/local/swftools
sudo make && make install
 
pdf2swf test.pdf -o test.swf -T 9 -f

安装地址如果改变修改user_docs_controller.rb 32行
安装后修改user_docs_controller.rb 34行

ruby script/server

login admin
password aaaaaaaa

gtalk or msn or email : yueyuegigi21@gmail.com

About

基于 flexpaper 做的小程序,类式于百度文档,上传pdf文件,自动转成swf,由 flexpaper 做在线阅读

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages