Read the statement by Michael Teeuw here.
Apache Permissions: can't duplicating config.js.sample
-
-
Thanks @paviro! [grabs cup of coffee] Going to take another crack at this!
-
Well i’ll be damned. Following the instructions worked! Haha. Thanks for bearing with me.
-
Hello all!
I’m also new to this sort of thing (little/no coding experience) and I too have been following online tutorials but haven’t been getting results… So, I switched to following the README, but haven’t made it very far.
I’ve downloaded the necessary files from git hub using:
(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash)Due to my lack of coding knowledge, I’m unsure how to duplicate the config.js.sample file (so that the file becomes config.js) - referring to this line in the README:
Duplicate "config/config.js.sample to config/config.js.I’ve tried typing this into the terminal under the magic mirror directory but nothing happens. I’ve also gone into my File Manager—> Directory Tree----> MagicMirror----> confi folder----> copied and pasted the “config.js.sample” file and renamed it to “config.js”.
From there I’ve gone to https:///MagicMirror/ (from another computer on the same network)to see what it all looks like. I get a message that says I need to create a config file (of that mine has an error in it and to use a JavaScript Linter).
Any and all help would be appreciated especially at an ELi5 level :D Thanks in advance!
-
go into the config directory with a terminal and type
sudo cp config.js.sample config.js
-
@feuerball
sudo
should not be necessary. -
just for safety :P
-
@feuerball yes for safety you should NOT use it! :P
-
Hi @CaptainFalcon323, you can also go into this folder within the File Manager interface and literally Copy the file, Paste it and rename to remove .sample at the end. Whatever is easier.
-
Wow, thanks for the quick replies! Unfortunately, I’m at work right now, so I’ll have try these when I get home in ~4 hours and I’ll let you know know how it works out.
So this what I’m getting:
1a) Go to the File Manager, copy/pasta the file “config.js.sample” and rename it “config.js.sample”
OR
1b) Go into the config directory and “cp config.js.sample config.sjs”
- To check to see if it worked go to:
“https:///MagicMirror/”?
If it worked, I should be seeing some stuff there?
If it didn’t, I should see what I have been seeing (i.e. that i need to create a config file)?
Thanks again!