sameerdhoot / wolweb

Web interface for sending Wake-on-lan (magic packet). An HTTP server built using GoLang and uses Bootstrap for UI.
GNU General Public License v3.0
288 stars 74 forks source link

Able to run without docker? #32

Open nahventure opened 11 months ago

nahventure commented 11 months ago

Trying to see if I can run it directly on apache2, I have a 1gb pi3 so resources are limited.

I uploaded the files to the server and it errors with the following;:

Error Unable to retrieve device data!

sameerdhoot commented 11 months ago

@nahventure make sure that it can access devices.json file which should be in same folder as the executable. I have ran this before on my router and it can run independently without a docker container.

nuclear-banana commented 7 months ago

@sameerdhoot i am also curious and have the same issue - please help me out here, where to place the devices.json file exactly?

ellisdickinson46 commented 1 week ago

@nuclear-banana from what I can tell, the files are pulled from the consoles current working directory. Therefore, you would have to be executing from within the folder where the binary is located for the program to find them instead of the files being in a particular location.

ellisdickinson46 commented 1 week ago

36 would help in scenarios like this, would you be able to test with the changes made in my fork on main and let me know if that solves this issue.