Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web interface for MetaCPAN
CSS Perl JavaScript Shell
Pull request Compare This branch is 1 commit ahead, 1023 commits behind CPAN-API:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
git
lib
root
t
.gitignore
.perltidyrc
.tidyallrc
.travis.yml
.vimrc
CONTRIBUTING.md
LICENSE
README.md
app.psgi
cpanfile
cpanfile.snapshot
metacpan_web.conf

README.md

Build Status Coverage Status

GETTING STARTED

We strongly recommend using metacpan-developer, this will give you a virtal machine already configured and ready to start developing on.

Installing manually

Install the project dependencies:

$ cpanm --installdeps .

Run test suite:

$ prove -lr t/

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

$ plackup -p 5001 -r

Installing manually via carton

If you prefer to use carton to manage your dependencies, then the above commands can be converted to:

$ carton install
$ carton exec prove -lr t/
$ carton exec plackup -p 5001 -r

Local configuration changes

The backend defaults to C. 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 C 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.