Updating readme

File urls work fine now, so using a HTTP server has become
optional.
This commit is contained in:
ahocevar
2012-09-28 17:07:33 +02:00
parent 163737d3de
commit 467fef8875

View File

@@ -18,17 +18,15 @@ Run the [Plovr](http://plovr.com/) web server with:
$ make serve
Then, start a simple webserver, for example:
Then, either open one of the example html files from the `examples` directory directly in your browser, or start a simple webserver, for example:
$ python -mSimpleHTTPServer
Explore the `examples/` directory through this server, for example
<http://localhost:8000/examples/side-by-side.html>. You can turn off
compilation by appending `?mode=RAW` to the URL, for example
<http://localhost:8000/examples/side-by-side.html?mode=RAW>.
and explore the `examples/` directory, for example by opening
<http://localhost:8000/examples/side-by-side.html>.
Note that appending `?mode=RAW` doesn't work with `file://` URLs, which is why
you need to access the `examples/` directory though a web server.
You can turn off compilation by appending `?mode=RAW` to the URL, for example
<http://localhost:8000/examples/side-by-side.html?mode=RAW>.
## Run tests