blob: 7f127b1065b6c177518f5f298b97a123b4ae8378 [file] [log] [blame]
love2d signage
===
As used in digital signage displays in HSWAW.
Originally hosted on code.hackerspace.pl/informatic/love2d-signage, now in hscloud.
Building & Running
---
Run the following in hscloud root:
$ nix-build -A hswaw.signage.prod
$ result/bin/signage
If the result doesn't run and complains about OpenGL not being available, try building the 'local' target instead, which will use your host `<nixpkgs>`:
$ nix-build -A hswaw.signage.local
For non-NixOS systems you'll need something like `nixgl` to work around Nixpkgs-GL-on-Non-NixOS badness anyways.
In order to run the app in more of a development environment with hot code reload and such use:
$ ENV=dev $(nix-build -A hswaw.signage.local.runtime --no-out-link)/bin/love hswaw/signage/
Custom configs
---
You can either modify config.lua and rebuild, or specify a custom config at runtime by setting the `SIGNAGE_CONFIG` environment variable.