Opening local files using peruse browser

Is there any way that I can use peruse browser to open local files such as html? It will be useful as the development for a webpage on peruse browser.

hey @JackTiew, yep, you can use a local server.

localhost:<port>/ will work within Peruse to enable local development.

6 Likes

Ok thank you so much!

On linux I use the following command to quickly have an http server on local folders: ruby -run -ehttpd . -p8000. I guess it should work on other platforms if you have ruby (v1.9.2+) installed…?

1 Like

or with Python:
$ python -m SimpleHTTPServer

http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python

2 Likes