A simple python web server
24 January 2014
Ubuntu (like other distros) is shipped with a python webserver, very useful to create a fast environment for test and dev purposes, without bothering with a full Apache setup.
Create a folder and save an index.html within it.
Then in the shell, cd and digit:
$ python -m SimpleHTTPServer
This will start a webserver listening on port 8000.
Cool, isn’t it?
blog comments powered by Disqus