This document is aimed at any Perl.com editor who wants to update the live site. Perl.com is organized as a Git repo which is built with hugo and the generated files are pushed to the private perl.com-staging repo managed by the TPF organization. Changes pushed to that repo are reflected on the live site within a few minutes.
To deploy the site:
- Clone this repo
- Clone the private TPF perl.com-staging repo
- Install hugo. Warning package managers versions of hugo are often very out of date, and may not work. You're usually better off with a pre-compiled binary. The site is tested against v0.31.1 and higher
- Change into the root perldotcom dir and run
bin/deploy
- The live site will be updated a short while after