sof-elk icon indicating copy to clipboard operation
sof-elk copied to clipboard

update templates for public vs course-specific releases

Open philhagen opened this issue 3 years ago • 1 comments

e.g. /etc/issue should reflect EWB URL for FOR509, branding around specific class, etc.

likely needs a variable set for the ansible-playbook command that defaults to "public" or something like that. Then, for specific files, if e.g. issue.stock.for572 exists in the template dir, use that if for572 is specified, else use issue.stock.public.

could this also be used to add the necessary FOR509-specific RPMs, clone the EWB itself? Interesting idea...

philhagen avatar Apr 20 '21 20:04 philhagen

for FOR509:

  • install httpd and nc rpms
  • remove/rename/disable welcome.conf
  • create EWB config:
RedirectMatch ^/$ /workbook/

ExpiresActive On
ExpiresDefault "access plus 1 second"
  • enable and start httpd service

philhagen avatar Apr 20 '21 21:04 philhagen