| Age | Commit message (Collapse) | Author |
|
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.
|
|
* README.md: Update the documentation on how to run the webserver.
* bin/gn-guile: New runnable script to start webserver.
* web/webserver.scm: Make into Guile/Scheme module and remove
entry-point `main' function.
|
|
This reverts commit 709bf8076c4d1d94ba42e151c202a9ffeac048fb.
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|