r/web/hlc: Add formsubmit config for summer signup

And of course, Tabitha lost her SSH key so she had to get another one.
This commit is contained in:
2024-01-23 22:04:29 -06:00
parent 5287ff601b
commit 236e6dced6
4 changed files with 24 additions and 1 deletions

View File

@@ -60,6 +60,7 @@
RewriteEngine On
RewriteRule /submit/attendance http://127.0.0.1:8000/hlc-attendance [P]
RewriteRule /submit/signup http://127.0.0.1:8000/hlc-signup [P]
RewriteRule /submit/summer2024 http://127.0.0.1:8000/hlc-summer2024 [P]
DocumentRoot /srv/www/hatchlearningcenter.org/htdocs
<Directory /srv/www/hatchlearningcenter.org/htdocs>

View File

@@ -75,3 +75,10 @@
mode: u=rw,go=r
tags:
- config
- name: ensure formsubmit is configured hatchlearningcenter.org summer2024
copy:
content: '{{ hlc_formsubmit_summer2024|to_nice_yaml(indent=2) }}'
dest: /etc/formsubmit/hlc-summer2024.yml
mode: u=rw,go=r
tags:
- config

View File

@@ -2,6 +2,13 @@ hlc_formsubmit_attendance:
csvfile: /srv/www/hatchlearningcenter.org/data/attendance.csv
date_field: date
time_field: time
hlc_formsubmit_signup:
csvfile: /srv/www/hatchlearningcenter.org/data/signup.csv
date_field: date
hlc_formsubmit_summer2024:
matrix:
homeserver: hatch.chat
room: '!vyZDNkPeOZJjhZdbZG:hatch.chat'
access_token: '{{ formsubmit_matrix_access_token }}'