/ahfe-openshift

Ad Hoc File Exchange for OpenShift

Primary LanguagePerlGNU General Public License v2.0GPL-2.0

ahfe-openshift

Ad Hoc File Exchange for OpenShift

This is a simple file uplaod/downlaod script that can be hosted on RedHat's OpenShift. It doesn't differ much from other similar scripts, except for default expiry of uploaded files and the fact that you can trivially deploy it on OpenShift using their Perl-5.10 cartridge and this repo.

The script is written in Perl using Mojolicious::Lite MVC. It is pretty usable as-is and delivered as such - user at your own risk.

Deployment

  • Create an OpenShift account
  • Create a new application using the Perl-5.10 cartridge
  • Give your app a name and provide this repo's HTTP url to clone from
  • Hit "Create Application" and it will be ready to use very shortly

Ideas for the future:

  • Option to expire files after N downloads instead of time
  • Simple, non-radmon, user derived directories in download path (has some valid use scenarios)
  • Startup scripts to operate standalone version if not deployed on OpenShift

That's all for now folks! Enjoy :-)