Opening local files using peruse browser


#1

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.


#2

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

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


#3

Ok thank you so much!


#4

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…?


#5

or with Python:
$ python -m SimpleHTTPServer

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


#6