Permalink
Browse files

Just fetch the perl releases a few times a day

  • Loading branch information...
1 parent 6aee595 commit eb807a4aa3ab2ae3d268cee2c62024b278c1e989 @abh abh committed Jun 12, 2011
Showing with 5 additions and 7 deletions.
  1. +3 −1 Makefile
  2. +2 −6 README.md
View
@@ -29,9 +29,11 @@ data/cpan-stats.json: update-data
update-data:
@$(PERL) ./bin/cpanorg_rss_fetch
- @$(PERL) ./bin/cpanorg_perl_releases
@$(PERL) ./bin/update_data
+update-daily:
+ @$(PERL) ./bin/cpanorg_perl_releases
+
install:
$(CPANM) Template JSON Template::Plugin::Comma Template::Plugin::JSON XML::RSS local::lib File::Slurp
View
@@ -31,6 +31,8 @@ to be expediently pulled in.
Install Template Toolkit and the other requirements with `cpanm` by running `make install`.
+To fetch the data from needed for the site, run `make update-data update-daily`.
+
Then run `make`. This will in turn run `ttree` and generate output
files in the html/ directory.
@@ -39,10 +41,4 @@ Image files are copied plainly to the html/ directory.
Everything else is processed through template toolkit. Only .html
files get the "master template" applied automatically.
-To fetch the latest rss information run bin/cpanorg_rss_fetch which
-saves content into fetched_data
-
-The master template is in lib/style/cpan.html -- for now this is
-mostly just blank.
-

0 comments on commit eb807a4

Please sign in to comment.