Giter Club home page Giter Club logo

perlweb's Introduction

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.

perlweb's People

Contributors

2shortplanks avatar abh avatar allisonrandal avatar bjakubski avatar briandfoy avatar chrisridd avatar chromatic avatar coke avatar dolmen avatar edsu avatar gbarr avatar genehack avatar leejo avatar martinmcgrath avatar neilb avatar nwc10 avatar petdance avatar ranguard avatar rgs avatar rjbs avatar rspier avatar slanning avatar steve-m-hay avatar synedra avatar szabgab avatar timbunce avatar timtoady avatar wolfsage avatar xdg avatar ypbob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.