Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schmich/fsws

Ruby file system web server. Replaced by https://github.com/schmich/sfs
https://github.com/schmich/fsws

development devtools http ruby server static-site web web-server webserver

Last synced: 3 months ago
JSON representation

Ruby file system web server. Replaced by https://github.com/schmich/sfs

Awesome Lists containing this project

README

        

# fsws

A simple Ruby-based file system web server for serving static files from a directory on OSX, Windows, or Linux.

It is intended for use in development for viewing statically-generated sites such as documentation (YARD), blogs (Jekyll), code coverage reports (SimpleCov), profiling reports, etc.

[![Gem Version](https://badge.fury.io/rb/fsws.svg)](http://rubygems.org/gems/fsws)
[![Dependency Status](https://gemnasium.com/schmich/fsws.svg)](https://gemnasium.com/schmich/fsws)







Alternatives include `python -m SimpleHTTPServer`, nginx, and Apache.

## Usage

Start a web server for files in the current directory:

```
$ gem install fsws
$ fsws
```

Specify a port:

```
$ fsws -p 777
```

Allow external connections:

```
$ fsws -i 0.0.0.0
```

Serve files from another directory:

```
$ fsws -d ../foo
```

## License

Copyright © 2014 Chris Schmich


MIT License. See [LICENSE](LICENSE) for details.