-
Notifications
You must be signed in to change notification settings - Fork 194
Installation
Olaf Alders edited this page Apr 27, 2011
·
28 revisions
If you want to run MetaCPAN locally (why not?), here are a few tips to get you started:
You can download ElasticSearch at http://www.elasticsearch.org/download/. Make sure you download the latest version (0.16). After you unzip it, run the following command:
bin/elasticsearch -fIf you haven't installed cpanminus already, see http://search.metacpan.org/#/showpod/App::cpanminus
cpanm Dist::Zilla::PluginBundle::JQUELINgit clone https://github.com/CPAN-API/cpan-api.git
cd cpan-api
git submodule init
git submodule updatedzil authordeps | cpanm
dzil listdeps | cpanmbin/metacpan mappingbin/metacpan release /path/to/cpan/authors/id/You should note that you can index either your CPAN mirror or a minicpan mirror. You can even index just parts of a mirror:
bin/metacpan release /path/to/cpan/authors/id/{A,B}bin/metacpan latestStarts API server on port 5000
bin/metacpan server --cpan /path/to/cpan/For a full list of options:
bin/metacpan release --helpEV may seem to take forever to install because the test suite hangs, so you may have to install it without first running the test suite:
cpanm --notest EV