Skip to content

book/CPANio

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
t
 
 
 
 
 
 
 
 

CPAN.io

This repository contains everything needed to build the 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 http://cpan.io/ 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/

About

CPAN.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published