github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

reidrac / shortUseboxNet

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

URL shortening service made with Perl and Mojolicious. — Read more

  cancel

http://ln.usebox.net/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

copyright year 
reidrac (author)
Tue Feb 02 14:20:04 -0800 2010
commit  e57947878cac2e4d5932796eab87f3f4648928d8
tree    601d07db806b9900ae9c42a59c522e581d303d9f
parent  bea6f4091fcd9e6a1b044bf09d37bde815130642
shortUseboxNet /
name age
history
message
file COPYING Loading commit data...
file Mojo
file README
file config.yml
directory lib/
directory public/
directory script/
directory t/
directory 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.

***
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server