Giter Site home page Giter Site logo

pombredanne / metacpan-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metacpan/metacpan-web

0.0 1.0 0.0 3 MB

Web interface for MetaCPAN

Home Page: http://metacpan.org

License: Other

Vim Script 0.03% Perl 36.02% Shell 0.02% CSS 48.18% JavaScript 15.75%

metacpan-web's Introduction

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

metacpan-web's People

Contributors

monken avatar oalders avatar rwstauner avatar ranguard avatar omega avatar plu avatar haarg avatar yanick avatar tsibley avatar dpetrov avatar autarch avatar tobyink avatar rafl avatar genehack avatar wchristian avatar szabgab avatar ioncache avatar mauke avatar dgl avatar carwynellis avatar mjemmeson avatar mpeters avatar avar avatar harleypig avatar doy avatar richardjharris avatar sartak avatar mbeijen avatar eserte avatar grantm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.