Skip to content

perlorg/perlweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

49aff10 · Mar 23, 2025
Dec 30, 2024
Aug 10, 2020
Sep 25, 2022
Nov 5, 2019
Mar 23, 2025
Jun 29, 2023
Dec 30, 2024
Dec 30, 2024
May 25, 2021
May 13, 2017
May 1, 2022
Jun 20, 2011
Feb 3, 2022
May 27, 2008
Jan 3, 2025
May 12, 2017
Jul 27, 2012
Jan 3, 2025
Jun 11, 2011
Dec 30, 2024
Jan 3, 2025
Jun 19, 2024
Jun 9, 2022
Aug 10, 2020
Jul 2, 2012

Repository files navigation

perlweb development

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

N.b Development requires docker to make things simple..

Setup

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

Developing:

Edit your local /etc/hosts file, add:

127.0.0.1  wwwperl.local
127.0.0.1  qaperl.local
127.0.0.1  nocperl.local
127.0.0.1  devperl.local
127.0.0.1  dbiperl.local
127.0.0.1  perl4libperl.local
127.0.0.1  debuggerperl.local
127.0.0.1  learnperl.local
127.0.0.1  listsperl.local

Container: build and run

docker build --tag perlweb-dev .
docker run -it -p 8235:8235 -v $(pwd):/git/perlweb perlweb-dev  /bin/bash
cd /git/perlweb
./combust/bin/httpd

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

CSS/JS: rebuilding

(On your host, not in the docker container)

npx grunt

(You can use npx grunt watch for it to auto build when you make changes)

Misc

Static header config

Static headers can be configured in combust.conf, either globally or per-site.

[headers-global]
X-Frame-Options = deny

[headers-www]
X-Frame-Options = sameorigin

Copyright

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