1
1
Fork 0

Add temp OSDS site

Bill Ewanick 2024-05-21 17:44:18 -04:00
parent 2b1738f5e9
commit 96c4341cfb
5 changed files with 59 additions and 0 deletions

View File

@ -7,6 +7,10 @@
"jquery", "jquery",
"pandoc", "pandoc",
"photoframe", "photoframe",
<<<<<<< Updated upstream
"unrecognised" "unrecognised"
=======
"swingottawa"
>>>>>>> Stashed changes
] ]
} }

View File

@ -10,7 +10,12 @@
./paperless.ewanick.com.nix ./paperless.ewanick.com.nix
./fancytypist.com.nix ./fancytypist.com.nix
<<<<<<< Updated upstream
./hydra.fancyTypist.com.nix ./hydra.fancyTypist.com.nix
=======
./ottawa-swing-dance-society-website.nix
>>>>>>> Stashed changes
]; ];
# when in doubt, clear away the certs with # when in doubt, clear away the certs with

View File

@ -0,0 +1,34 @@
{ pkgs, ... }:
let
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ottawa-swing-dance-society-website";
PORT = "4232";
HOST = "localhost";
in
{
services.caddy = {
enable = true;
virtualHosts = {
"osds.fancytypist.dev" = {
extraConfig = ''
reverse_proxy ${HOST}:${PORT}
'';
};
};
};
systemd.services = {
ewanick-site = {
enable = true;
description = "A blog powered by Emanote running solely on Markdown files.";
path = with pkgs; [ nix git ];
script = ''
cd ${PROJECT_ROOT}
nix run github:srid/emanote --accept-flake-config \
-- run \
--port ${PORT} \
--host ${HOST}
'';
};
};
}

View File

@ -0,0 +1,11 @@
# Our Team
## Executive Committee
The Ottawa Swing Dance Society is completely run by volunteers!
Our team of executives is dedicated to providing a fun and safe dance environment. For more information, please review our Safety Policy.
If you are interested in joining our Executive Committee or trying your hand at DJing, please contact us at swingottawa [at] gmail.com.
To volunteer for a door shift or set up/tear down, click here.
We can't wait for you to join our team!

View File

@ -0,0 +1,5 @@
# Welcome to the OSDS
This is the OSDS site
The OSDS is a non-profit dedicated to promoting swing dancing culture in Ottawa, ON, on unceded Algonquin territory.