Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 698 Bytes

README.pod

File metadata and controls

23 lines (13 loc) · 698 Bytes

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.