Go to file
Chris Josten d089147a04 Fix NixOS buld 2021-06-27 12:51:57 +02:00
source Add license 2020-12-28 21:43:03 +01:00
statisch Add license 2020-12-28 21:43:03 +01:00
translations Add license 2020-12-28 21:43:03 +01:00
views Add license 2020-12-28 21:43:03 +01:00
LICENSE_1_0.txt Add license 2020-12-28 21:43:03 +01:00
README.md Update README 2020-12-28 21:31:11 +01:00
default.nix NIX even more 2020-12-12 19:08:23 +01:00
dub.json Add dub.json 2020-12-12 17:30:54 +00:00
dub.sdl Eerste commit 2020-12-12 17:14:09 +01:00
dub.selections.json Eerste commit 2020-12-12 17:14:09 +01:00
dub.selections.nix Add Nix compatibility 2020-12-12 18:38:02 +01:00
kerstezel.nix Include static content 2020-12-12 19:51:12 +01:00
mkDub.nix Fix NixOS buld 2021-06-27 12:51:57 +02:00

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)

  1. 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)
  2. Make sure openssl development libraries are installed.
  3. Run dub build. This will automatically download other dependencies and compile them.

Building (nix)

  1. nix build .

Running

  1. Run the produced kerstezel binary. Note that the built-in file webserver expects to have the statisch 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.