File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 55
66=head2 DESCRIPTION
77
8+ This is the API web server interface.
9+
10+ # On vagrant VM
11+ ./bin/run morbo bin/api.pl
12+
13+ To run the api web server, run the following on one of the servers:
14+
15+ # Run the daemon on a local port (tunnel to display on your browser)
16+ ./bin/run bin/api.pl daemon
17+
818Start Minion worker on vagrant:
919
1020 cd /home/vagrant/metacpan-api
11- ./bin/run bin/queue .pl minion worker
21+ ./bin/run bin/api .pl minion worker
1222
1323Get status on jobs and workers.
1424
1525On production:
1626
17- sh /home/metacpan/bin/metacpan-api-carton-exec bin/queue .pl minion job -s
27+ sh /home/metacpan/bin/metacpan-api-carton-exec bin/api .pl minion job -s
1828
1929On vagrant:
2030
2131 cd /home/vagrant/metacpan-api
22- ./bin/run bin/queue .pl minion job -s
32+ ./bin/run bin/api .pl minion job -s
2333
2434=cut
2535
26- # For vagrant
2736use lib ' lib' ;
2837
2938# Start command line interface for application
Original file line number Diff line number Diff line change @@ -2,19 +2,18 @@ package MetaCPAN::API;
22
33=head1 DESCRIPTION
44
5- This is not a web app. It's purely here to manage the API's release indexing
6- queue.
5+ This is the API web server interface.
76
87 # On vagrant VM
9- ./bin/run morbo bin/queue .pl
8+ ./bin/run morbo bin/api .pl
109
1110 # Display information on jobs in queue
12- ./bin/run bin/queue .pl minion job
11+ ./bin/run bin/api .pl minion job -s
1312
14- To run the minion admin web interface , run the following on one of the servers:
13+ To run the api web server , run the following on one of the servers:
1514
1615 # Run the daemon on a local port (tunnel to display on your browser)
17- ./bin/run bin/queue .pl daemon
16+ ./bin/run bin/api .pl daemon
1817
1918=cut
2019
You can’t perform that action at this time.
0 commit comments