| name | age | message | |
|---|---|---|---|
| |
COPYING | ||
| |
Mojo | ||
| |
README | ||
| |
config.yml | ||
| |
lib/ | ||
| |
public/ | ||
| |
script/ | ||
| |
t/ | ||
| |
templates/ |
README
shortUseboxNet ============== URL shortening service made with Perl and Mojolicious. Watch it live: http://ln.usebox.net/ COPYRIGHT AND LICENCE Copyright (C) 2009, 2010 Juan J. Martinez <jjm@usebox.net> License: GPL3, please check COPYING file ** Requires: - Mojo, Mojolicious (http://mojolicious.org, GIT version 2010-01-16 tested; Mojo is under development -- run the tests!) - Class::DBI - DateTime - YAML - Text::CSV (for phishtank.pl) - Test::More, Test::Harness and DBD::SQLite2 (only if you run the rests) Setup: - Check config.yml: siteName: the name of the site that will be displayed baseURL: URL for the redirects tagline: tagline copyright: copyright line storage: dsn: DBI connection string username: user password: password max_alias: alias lenght max_title: title length api_limit: calls per hour web_limit: calls per minute mode: production or anything else for development - Load the database scheme (script/database.sql) in you database of choice (tested with SQLite and MySQL; it might need changes). - Run de application as daemon + proxy web server (frontend), it expects the x-fowarded-for header to be there. - Setup cron jobs for cleaner.pl and phishtank-launch.sh (both optional). - Mojo directory must be a soft link to the lib directory of Mojo. ***

