|
web/webserver-aging.scm serves only the brand pages (home/aging/...),
css, static images and doc rendering -- the REST API (web/webserver.scm)
stays untouched for the full deployment. bin/gn-guile-webserver is the
matching entry-point script (a plain guile script with an @GUILE@
shebang that package builds substitute, wrapped with their load paths).
Both are used by the gn-guile system container
(gn-machines/genenetwork/containers/gn-guile-container.scm), which
strips everything but the webserver from the package at build time:
the container serves ONLY aging.genenetwork.org and every REST/API
route is disabled.
Also compute the copyright year at run time: (current-year) in
(web sxml) returns (date-year (current-date)) and the aging/msk
footers render "Copyright © 2005-<current-year>" instead of the
stale hard-coded 2025.
|