Automate the generation of the static pages. #144
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HPR/hpr_generator#144
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The static pages need to be generated at least every six hours, or as soon as substantial changes have been made to the site.
Not sure if anything has been implemented yet, but my thoughts:
Simple method - cron job that runs
site-generator --all
every 6 hoursMore complex - Update individual pages. Need to define what triggers the update and what is updated
Others I may not have contemplated.
I envision an update tool that is run either manually or periodically that queries the database and generates a list of pages that need updated in the form of
the site-generator arguments and then runs the site-generator with them.
I am currently running a job that updates the code, downloads the db, and then does a update all every 3 hours.
It's working OK but once an hour might be better so that comments get updated sooner.