maker/ratchet — pull request #113 by pcottle (2012-11-15 18:33:15+00:00)
Title: README troubleshooting update with file:/// protocol

One more gotcha to add to the list! I just helped out another student at Berkeley who was stuck due to this issue. The console fires a ton of errors that makes this pretty obvious, but since people with a wide range of experience will (ideally) be using Ratchet, I figure it's worth disclosing.

Displayed here for convenience. Also included some minor language updates. Hopefully this last one covers all our bases:

- Ratchet uses XHR requests to fetch additional pages inside the application. Due to security concerns, modern browsers prevent XHR requests when opening files locally (aka using the file:/// protocol); consequently, Ratchet does not work when opened directly as a file.
- A common solution to this is to simply serve the files from a local server. One convenient way to achieve this is to run ```python -m SimpleHTTPServer ``` to serve up the files in the current directory to ```http://localhost:```