irpepper / Smart-Mirror

Monitor behind a one way mirror with a GUI run on a Raspberry Pi
2 stars 1 forks source link

Read/write to/from XML (set up webserver) #22

Closed charlesamacon closed 8 years ago

charlesamacon commented 8 years ago

This needs to happen to be able to adequately personalize anything.

Reading and writing to and from XML is fairly easy in javascript, but we need to be running everything on a server to do that. Chrome (and I assume Chromium, by extension) does not allow Javascript to read from anything on localhost (from file:// ), but we can work around that by setting up a webserver on the pi and running everything from there.

I know Jordan had mentioned doing this, and I wanted to avoid it if at all possible (because of extra steps), but it looks like it's necessary at this point.

charlesamacon commented 8 years ago

This has been SCRAPPED, and replaced with cookies.