source | ||
statisch | ||
translations | ||
views | ||
default.nix | ||
dub.json | ||
dub.sdl | ||
dub.selections.json | ||
dub.selections.nix | ||
kerstezel.nix | ||
LICENSE_1_0.txt | ||
mkDub.nix | ||
README.md |
Kerstezel Server
This is the server component of the Kerstezel project. This renders the public webpage and forwards the drum commands from our beloved users towards the Santa of IAPC.
Building (normal)
- Install dmd and dub from your distro's package manager (or for those unlucky enough to live without a package managers: https://dlang.org/download.html)
- Make sure openssl development libraries are installed.
- Run
dub build
. This will automatically download other dependencies and compile them.
Building (nix)
nix build .
Running
- Run the produced
kerstezel
binary. Note that the built-in file webserver expects to have thestatisch
folder in its working directory. The other directories (source, translations, views) are only needed at compile time. It will listen on port 8090 for http-requests and on port 9305 for the kerstezel-client. If you want to change any of this, edit the program and recompile.