A simple utility to serve static files to your browser. Handy to test Javascript apps. Supported backends include: WEBrick, Thin, and Mongrel.
Written by Rida Al Barazi and Peter Kieltyka from Nulayer Inc.
Enjoy.
The original project did not provide full support for Thin. Fortunately, a couple of lines of code is all that is need to fix that problem!
I've submitted a pull request to the maintainers. In the meantime, please feel free to use this version.
- Clone this repo.
- Change directory in to your local clone of this repo.
- Execute
gem install -l webify
- Change directory in to a directory that you would like to serve.
- Either execute
webify -t
to start up Webify using Thin, orwebify
to start up Webify using WEBrick. - Open http://localhost:3000 in your Web browser. The directory listing that you are now seeing in your browser is that same directory that you started Webify in.