NAME

CPAN::Mirror::Tiny::Server - HTTP Server for CPAN::Mirror::Tiny

SYNOPSIS

  $ cpan-mirror-server ./repository

  # upload git managed module
  $ curl --data-urlencode 'module=git@github.com:Songmu/p5-App-RunCron.git' \
    --data-urlencode 'author=SONGMU' http://localhost:5000/upload
  $ curl --data-urlencode 'module=ssh://git@mygit/home/git/repos/MyModule.git' \
    --data-urlencode 'author=SONGMU' http://localhost:5000/upload

  # install by cpanm
  $ cpanm --mirror http://localhost:5000 --mirror http://www.cpan.org Your::Module

  # install by carton install
  PERL_CARTON_MIRROR=http://localhost:5000 carton install

DESCRIPTION

CPAN::Mirror::Tiny::Server is OrePAN2::Server for CPAN::Mirror::Tiny.

LICENSE

Most of code is copied from OrePAN2::Server. Its license is:

  Copyright (C) Hiroyuki Akabane.

  This library is free software; you can redistribute it and/or modify
  it under the same terms as Perl itself.