home · contact · privacy
Add basic guiltcards setup.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 25 Dec 2021 20:59:31 +0000 (21:59 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 25 Dec 2021 20:59:31 +0000 (21:59 +0100)
bullseye/etc_files/website/etc/nginx/sites-available/website.nginx
bullseye/setup_scripts/setup_website.sh

index cbad304d8e8060c0c69c2e4ee169b32e92757057..008b5862a505858bb498df01b71c41e7cccac2aa 100644 (file)
@@ -37,4 +37,9 @@ server {
         auth_basic_user_file /var/www/irclogs_pw/$1;
         autoindex on;
     }
+
+    # location /guiltcards/ {
+        include uwsgi_params;
+        uwsgi_pass 127.0.0.1:9000;
+    }
 }
index 99d5f4ef23a23146ff1eabb8b039ae7aeec6a98c..d2dd5e87a94ba4d16a4a199bbb8bb60adf078cad 100755 (executable)
@@ -123,6 +123,9 @@ fi
 # TODO systemctl enable plomlombot.service
 # TODO service plomlombot start
 
+# Set up guiltcards.
+su -lc "git clone /var/repos/guiltcards" plom
+
 # In the above step, we might have created a root-owned /var/www/html –
 # fix this here.
 chown -R plom:plom /var/www/html