The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

$ cpan-mirror-tiny server

# 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 cpm
$ cpm install --resolver 02packages,http://localhost:5000 --resolver metadb Your::Module

# 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.