Skip to content

BendPerlMongers/bend.pm.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bend Perl Mongers website

Install the Template CPAN module.

Deploy to GitHub Pages

You must be an authorized user on the repository, or else you can send pull requests.

First time deploying:

bin/build -a
cd output
git init
git remote add upstream [email protected]:BendPerlMongers/bend.pm.org.git
git fetch upstream
git reset upstream/gh-pages
touch .
git add -A .
git commit -m "rebuild pages"
git push upstream HEAD:gh-pages

Subsequent deploys:

./bin/deploy.sh

Web Server Setup

It works best to have a local web server running to point to the output directory...

If you have something like "local.bend.pm" in your /etc/hosts file, you can have a minimal lighttpd config:

$HTTP["host"] == "local.bend.pm" {
  server.document-root = "/home/me/bend.pm.org/output"
}

Or for nginx:

server {
    server_name  local.bend.pm;
    root  /home/me/bend.pm.org/output;
}

The build script can be expanded to include stuff like a markdown processing step or something, but at that point I start to think we should have a makefile.

Releases

No releases published

Packages

No packages published