Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (13 sloc) 0.698 kb

GETTING STARTED

Install Dist::Zilla using your preferred CPAN client:

 $ cpanm Dist::Zilla

Install the project dependencies:

 $ dzil listdeps | cpanm

Start server on port 5000

 $ twiggy lib/MetaCPAN/Web.pm

The backend defaults to api.metacpan.org. Running a local API server is optional and not required to hack on the front-end.

Change METACPAN_API if you are running your own local API:

 $ METACPAN_API=localhost:5000 twiggy lib/MetaCPAN/Web.pm -p 5001 -R lib -R templates -E development

This will use the API server at localhost:5000 and sets the port of the front-end to 5001. The process will watch changes in the current directory and start with the Twiggy server.

Jump to Line
Something went wrong with that request. Please try again.