You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
provides a good starting point for REST access to MetaCPAN.
16
14
17
-
Expanding Your Author Info
18
-
--------------------------
15
+
## Expanding Your Author Info
19
16
20
17
MetaCPAN allows authors to add custom metadata about themselves to the index.
21
18
[Log in to MetaCPAN](https://metacpan.org/account/profile) to add more
22
19
information about yourself.
23
20
24
-
Installing Your Own MetaCPAN:
25
-
---------------------------------------
21
+
## Installing Your Own MetaCPAN
26
22
27
-
If you want to run MetaCPAN locally, we encourage you to start with [metacpan-docker](https://github.com/metacpan/metacpan-docker).
28
-
However, you may still find some info here:
23
+
If you want to run MetaCPAN locally, we encourage you to start with
24
+
[metacpan-docker](https://github.com/metacpan/metacpan-docker). However, you
25
+
may still find some info here:
29
26
30
27
## Troubleshooting Elasticsearch
31
28
@@ -34,28 +31,35 @@ You can restart Elasticsearch (ES) manually if you need to troubleshoot.
34
31
```sh
35
32
sudo service elasticsearch restart
36
33
```
37
-
If you are unable to access [[http://localhost:9200]] (give it a few seconds) you should kill the Elasticsearch process and run it in foreground to see the debug output
34
+
35
+
If you are unable to access [[http://localhost:9200]] (give it a few seconds)
36
+
you should kill the Elasticsearch process and run it in foreground to see the
37
+
debug output
38
38
39
39
```sh
40
40
sudo service elasticsearch stop
41
41
cd /opt/elasticsearch
42
42
sudo bin/elasticsearch -f
43
43
```
44
44
45
-
If you get a "Can't start up: not enough memory" error when trying to start Elasticsearch, you likely need to update your JRE. On Ubuntu:
45
+
If you get a "Can't start up: not enough memory" error when trying to start
46
+
Elasticsearch, you likely need to update your JRE. On Ubuntu:
46
47
47
48
```sh
48
49
# fixes "not enough memory" errors
49
50
sudo apt-get install openjdk-6-jre
50
51
```
51
52
52
-
(Note: If you intend to try indexing a full MiniCPAN, you may find that Elasticsearch wants to use more open filehandles than your system allows by default. [This script](https://gist.github.com/3230962) can be used to start ES with the appropriate ulimit adjustment).
53
+
(Note: If you intend to try indexing a full MiniCPAN, you may find that
54
+
Elasticsearch wants to use more open filehandles than your system allows by
55
+
default. [This script](https://gist.github.com/3230962) can be used to start ES
56
+
with the appropriate ulimit adjustment).
53
57
54
58
## Run the test suite
55
59
56
-
The test suite accesses Elasticsearch on port 9900.
57
-
The developer VM should have a dedicated test instance running in the background already,
58
-
but if you want to run it manually:
60
+
The test suite accesses Elasticsearch on port 9900. The developer VM should
61
+
have a dedicated test instance running in the background already, but if you
62
+
want to run it manually:
59
63
60
64
```sh
61
65
cd /opt/elasticsearch
@@ -85,7 +89,8 @@ The test suite has to pass all tests.
Note that minicpan doesn't provide the 00whois.xml file which is used to generate the index; you will have to download it manually (it is in the authors/ directory) in order to index authors.
111
+
Note that minicpan doesn't provide the 00whois.xml file which is used to
112
+
generate the index; you will have to download it manually (it is in the
0 commit comments