Enterprise quality file hosting web application.
Ruby C Perl Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 31479e0 Jan 23, 2013

README

Omploader

Distributed under the terms of the GNU General Public License v3 (see LICENSE file for details)

Requirements:

 * Web server (apache or lighttpd preferred)
 * MySQL 5.0 or newer (http://mysql.org/)
 * Ruby 1.8 or newer (http://www.ruby-lang.org/)
 * MySQL/Ruby (http://www.tmtm.org/en/mysql/ruby/)
 * RMagick (http://rmagick.rubyforge.org/)
 * id3lib-ruby (http://id3lib-ruby.rubyforge.org/)
 * Curb (http://curb.rubyforge.org/)
 * ruby-filemagic (http://grub.ath.cx/filemagic/)
 * ruby-fcgi (http://rubyforge.org/projects/fcgi/)
 * libvorbisfile-ruby
 * ruby-mmap (http://moulon.inra.fr/ruby/mmap.html)
 * recaptcha (http://www.loonsoft.com/recaptcha/)
 * Ruby-MemCache (http://www.deveiate.org/projects/RMemCache/)
 * Vim (http://www.vim.org/)

the code for libvorbisfile-ruby and ruby-mmap are available in the hax/ subdirectory.

structure is as follows:

./          - holds top-level things
./scripts/ - holds scripts (including sql)

to use omploader, you need to set up apache properly (duh) and the mysql database

cp scripts/config.sample scripts/config

edit config and run the sql code included (scripts/sql-structure) and everything should work

add scripts/cron to your crontab so that it executes every minute

go team!