VK4PK Maintaining the LyonsComputer Web Site

For convenience, add an enviorment varable, "AR" to .bashrc file in the home directory
"export AR=/nfs/mnt/extra/glenn-docs/develop/Amateur-Radio"

The bldidx.sh script requires linkchecker and sitecopy applications


Important Note: Because the bldidx script copies all webpage files to a temporary build directory if the "timesize" method is used, sitecopywill copy every file to the live website. Therefore the "checksum" method is required if only modified files are to be copied.

File State

File state is stored in the storage files (~/.sitecopy/*), and is used to discover when a file has been changed. Two methods are supported, and can be selected using the state option, with either parameter: timesize (the default), and checksum.

timesize uses the last-modification date and the size of files to detect when they have changed.
checksum uses an MD5 checksum to detect any changes to the file contents.

Note that MD5 checksumming involves reading in the entire file, and is slower than simply using the last-modification date and size. It may be useful for instance if a versioning system is in use which updates the last-modification date on a 'checkout', but this doesn't actually change the file contents.
Source: "man sitecopy"

*** NOTE the .sitecopy has to be implemented on one workstation for the site state
to be current. ***

Setup sitecopy's configuration file, ~./sitecopyrc

Man page: https://linux.die.net/man/1/sitecopy




Glenn Lyons VK4PK
Ver:gnl20182018 - pre published v0.9