Install Dist::Zilla using your preferred CPAN client:
$ cpanm Dist::ZillaInstall the project dependencies:
$ dzil listdeps | cpanmStart server on port 5000
$ twiggy lib/MetaCPAN/Web.pmThe 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 developmentThis 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.