Sha256: a43fb3a30b067a966ba2258151831d0e97018229d90f2ab0b462fe61ed6ee0fb
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
# NinjaServer This is a tiny HTTP server written in Ruby. ### Features * Serves up static files from a directory to a web browser * Sanitizes the path requested to prevent access outside the folder * Implicitly adds index.html to path when accessing directory roots * NinjaServer hides the functionality of TinyServer within it ## Installation Add this line to your application's Gemfile: gem 'ninja_server' And then execute: $ bundle Or install it yourself as: $ gem install ninja_server ## Usage `ninja_server` `ninja_server port` `ninja_server port staticroot` ## Contributing 1. Fork it ( http://github.com/orangeninjamidget/ninja_server/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## Author [Lillian Ng](https://github.com/orangeninjamidget/) ## License MIT: [http://lng.mit-license.org](http://lng.mit-license.org)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ninja_server-0.0.1 | README.md |