Need more compliments? compliments.json
-
I always like to expand the default compliments a little bit (using an external json file), so I guess I can share it as well:
https://gist.github.com/ryck/e28a69665b8839f6e9a7acd6b4acc97d
-
thanks
-
First of all, thanks for the new compliments! But I’m a noob and I can’t seem to figure this out. As I understand, first you copy this file to: pi@raspberrypi:~/MagicMirror/modules/default/compliments
Do I have to edit config.js or compliments.js and what exactly do I put there?
-
@dmd Just add remoteFile: “compliments.json” to the compliments module configuration
-
i still cant figure it out. How do i remote to the file?
-
@gotchabeats you don’t its just a word…
means the compliments are the file, not in config.js
just
{ module: 'compliments', config: { remoteFile: 'whatever the filename is', ... ... } },
-
@sdetweil said in compliments.json:
@gotchabeats you don’t its just a word…
means the compliments are the file, not in config.js
just
{ module: 'compliments', config: { remoteFile: 'whatever the filename is', ... ... } },
thanks that worked