A very easy way to setup a simple HTTP server is by using this built-in Python capability. This will turn any directory into a web server directory. The only thing you have to do is run:
python -m SimpleHTTPServeron the directory you want to host the files from and that's it. You can drop an index.html file in there, for example, and hit
http://127.0.0.1:8000in your browser and voila!
No comments:
Post a Comment