Install the Template CPAN module.
You must be an authorized user on the repository, or else you can send pull requests.
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
./bin/deploy.sh
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.