Allow starting pisignage from a different directory than where it was checked out
Opened this issue · 0 comments
raboof commented
Currently, pisignage-server expects to be started from the directory where it was checked out / installed: for example, it load the views
and public
directories relative to the CWD.
I'd propose:
view
should be immutable and relative to the location ofserver.js
public
should be immutable and relative to the location ofserver.js
config/env/all.js
should be immutable and moved toconfig/defaults.js
relative to the location ofserver.js
config/env
should be configurable, default to$CWD/config/env
data
should be configurable, default to$CWD/data
media
should be configurable, default to../media
relative to the location ofserver.js
If this makes sense I'd be interested in contributing this feature. WDYT?