arthurgarzajr / MMM-DailyBibleVerse

MIT License
27 stars 15 forks source link

npm install issue #1

Closed pankochicken closed 7 years ago

pankochicken commented 7 years ago

@arthurgarzajr Love the idea of this module! Git pull was no issue, but had an issue with the npm install. Where did I go wrong? Thanks!

pi@raspberrypi:~/MagicMirror/modules/MMM-DailyBibleVerse $ npm install npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field.

arthurgarzajr commented 7 years ago

Hi pankochicken, I should not have placed the npm install instructions to setup the dailybibleverse module because it is not needed. All you need to do is pull down the git repo and place it in the appropriate directory. Disregard the npm install.

Please let me know if it works for you and thanks for using the module!

pankochicken commented 7 years ago

Gotcha, thank you!! Works great. One more question: if I wanted to change the font and the size of the font of the verse, how would I go about doing that?

arthurgarzajr commented 7 years ago

pankochicken,

To apply your own styles to the module, you'll have to modify the module a bit. Follow the Magic Mirror guide here (https://github.com/MichMich/MagicMirror/tree/develop/modules), specifically the section labeled getStyles().

Basically, you'll have to create a .css style for the style you want, make sure the module includes the style on startup (by includes the stylesheet in the getStyles() method) and then assign your style class to the main DailyBibleVerse module wrapper.

The main wrapper can be found in the file MMM-DailyBibleVerse.js, currently at line 39.