1
1
Fork 0

Add temp OSDS site

main
Bill Ewanick 2024-05-21 17:48:58 -04:00
parent 2b1738f5e9
commit eaa03cc7e9
5 changed files with 56 additions and 1 deletions

View File

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

View File

@ -10,7 +10,8 @@
./paperless.ewanick.com.nix
./fancytypist.com.nix
./hydra.fancyTypist.com.nix
./ottawa-swing-dance-society-website.nix
];
# 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.