Skip to content
This repository

Web interface for MetaCPAN

This branch is 3 commits ahead and 1000 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 etc
Octocat-spinner-32 lib
Octocat-spinner-32 root
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Changes
Octocat-spinner-32 README.pod
Octocat-spinner-32 app.psgi
Octocat-spinner-32 dist.ini
Octocat-spinner-32 metacpan_web.conf
Octocat-spinner-32 perltidyrc
README.pod

GETTING STARTED

Install Dist::Zilla using your preferred CPAN client:

 $ cpanm Dist::Zilla

Install the project dependencies:

 $ dzil listdeps | cpanm

Start server on port 5001 (which you want to make authentication work)

 $ plackup -p 5001 -r

The backend defaults to api.metacpan.org. Running a local API server is optional and not required to hack on the front-end. The address to the API user can be changed in the metacpan_web.conf file. Ideally you would create a new file called metacpan_web_local.conf that contains

 api        http://127.0.0.1:5000
 api_secure http://127.0.0.1:5000

which will be loaded on top of the existing config file.

COMPATIBILITY NOTES

On Win32 (and possibly also on other platforms) when using Perl < 5.12, the server started with plackup will generate warnings relating to date parsing. These are caused by Plack due to a bug in the gmtime implementation and can be removed by upgrading to Perl 5.12.

Something went wrong with that request. Please try again.