Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/book/cpanio
CPAN.io
https://github.com/book/cpanio
Last synced: 3 months ago
JSON representation
CPAN.io
- Host: GitHub
- URL: https://github.com/book/cpanio
- Owner: book
- Created: 2014-08-13T21:16:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T14:55:44.000Z (over 1 year ago)
- Last Synced: 2024-10-03T12:36:28.139Z (4 months ago)
- Language: Perl
- Homepage: http://cpan.io/
- Size: 326 KB
- Stars: 7
- Watchers: 4
- Forks: 6
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CPAN.io
This repository contains everything needed to build the
[CPAN.io](http://cpan.io/) web site.The database is created with:
$ bin/create-database
It is then populated with:
$ bin/update-boards
While developing, it's possible to test the website with a browser by
running `plackup`:$ plackup bin/cpanio.cgi
And the static website is itself built with:
$ bin/build-site
The live site on is generated hourly by running the
`bin/update-boards` and `bin/build-site` commands in a cron job.All the assets are committed in the `site/static` directory.
They are generated by the `bin/build-assets` script, which only needs
to be run if modified.The production cron setup looks like this:
# cpan.io
1 * * * * /home/book/git/d/CPANio/bin/update-boards ; /home/book/git/d/CPANio/bin/build-site /home/book/www/cpan.io/