Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Various perl.org websites
Perl Shell Perl6 Groff
branch: master
Failed to load latest commit information.
apache Remove obosolete/broken cpannotify code and data.
bin Remove old TPF RSS download cronjob.
combust @ 5218daf lists.perl.org: updates for p5p
docs Update for Perl 5.21.11
lib Remove obosolete/broken cpannotify code and data.
sql Make it easy to delete a cpanratings user
.gitignore Update Perl FAQ (change script so can do it with local copy)
.gitmodules Add jQuery etc as submodule
.mailmap Start .mailmap file
.perltidyrc Perl::Tidy configuration
LICENSE
README.md Update README file
app.psgi Add Module::Refresh dependency to combust and other minor tweaks
combust.conf.sample Document and simplify setup of database tables
dist.ini Add pre-req for SSL for lwp-request on metacpan recent call
run_perlweb a quick helper script for setting env variables and starting the server

README.md

perlweb

Code for various perl.org sites hosted in the main perl.org infrastructure.

Clone the source

   git clone git://github.com/perlorg/perlweb.git
   cd perlweb
   git submodule update --init

Install dependencies

If you have Dist::Zilla and App::cpanminus installed you can just run:

((cd combust; dzil listdeps); dzil listdeps) | sort -u | cpanm

Configure combust.conf

The application expects a file called combust.conf to exist in the root directory. You can start with the combust.conf.sample file and then add

[cpanratings]
servername = cpanratings.local

[www]
servername = wwwperl.local

... etc. Add wwwperl.local and cpanratings.local to your /etc/hosts file so they point to 127.0.0.1.

Database setup

For some sites you also need to configure a (MySQL) database server. Setup the [database-combust] section in the combust.conf file and add a section for cpanratings like:

[database-cpanratings]
alias = combust

Then run:

   export CBROOTLOCAL=`pwd`
   export CBROOT=$CBROOTLOCAL/combust
   ./combust/bin/database_update combust
   ./combust/bin/database_update cpanratings

To setup the database schemas. When the schemas change, you can run the database_update command again to get updated.

Start httpd

   export CBROOTLOCAL=`pwd`
   export CBROOT=$CBROOTLOCAL/combust
   ./combust/bin/httpd

You should now be able to access http://wwwperl.local:8225/

Copyright

perlweb is Copyright 2003-2012 Ask Bjørn Hansen. See the LICENSE file.

Something went wrong with that request. Please try again.