Looked around to have some simple way of getting a web server up on linux/mac.
Command to launch HTTP server with python:
python -m SimpleHTTPServer
This will use the document root top as the current directory.
This will launch the webserver with document root as "."
Python:
With python 5.4 there is a simple web server that it can run.Command to launch HTTP server with python:
python -m SimpleHTTPServer
This will use the document root top as the current directory.
Php:
with python 5.4 there is web server that is default built in.
Command:
php -S 127.0.0.1:80 -t .
Comments
Post a Comment