Ruby Web Server One Liner

Python3 m http server this will setup a simple web server rooted at your current directory listening on port 8000.
Ruby web server one liner. Node static is required default is python 2 x or 3 x depends on your environment. For example if you have a file tests index html it will load index html if you go to test but will treat relative paths as if they were coming from. Sometimes you just want to have a small web server that serves files to test something. Python m simplehttpserver in python 3 it becomes even shorter.
This is the same. Handler thin run builder new run directory new. This is a wrapper script for launching one of the following an ad hoc http static servers to launch an instant web server on the fly. I was more than delighted to stumble upon this post it describes a ruby one liner that launches a thin web server that serves the current directory.
Php 5 4 node static node js. Serve the current directory on ruby 1 9 2 you can do the following for current directory. With python 2 4 it is a simple one liner. One note though re.
That should be true for any of these. Ruby web server one liner. Ruby run ehttpd. It is possible to launch a web server from command line in current directory not only with python one liner but with ruby too.
Ruby rrack e include rack. Ruby console server one liner. This server does funky things with relative paths. Today when developing some more client side code for dubjoy i again had the need of quickly loading a html file through a web server.
P8000 python 2 x offers a similar way.