README.md in servedir-0.2 vs README.md in servedir-0.4
- old
+ new
@@ -12,27 +12,33 @@
Installation
------------
-`servedir` do not require installation, it is a single standalone executable
+`servedir` does not require installation, it is a single standalone executable
script.
However, if desired, it is possible to install `servedir` via RubyGems:
$ gem install servedir
Usage
-----
+Launch `servedir` specifying the directory to be served and the port to be
+used.
+
On the box behind NAT:
- $ servedir ~/Public 13428
+ $ servedir ~/Public/ 13428
+ Discovering addresses and hostnames...
Server starting... (CTRL-C to terminate)
+
local address: <http://localhost:13428/>
+ LAN address: <http://fancy-box.local:13428/>
public address: <http://84.136.123.62:13428/>
[2012-02-11 13:24:01] INFO WEBrick 1.3.1
[2012-02-11 13:24:01] INFO ruby 1.8.7 (2010-01-10) [x86_64-linux]
[2012-02-11 13:24:01] INFO WEBrick::HTTPServer#start: pid=8207 port=13428
@@ -59,11 +65,11 @@
Private files
-------------
It is possible to block access to private files and also hide them from the
-directory listing. The list of private files must resides a file named
+directory listing. The list of private files must resides in a file named
`.private` in the served directory; each line must be either a file name or a
glob pattern.
Authors
@@ -82,8 +88,9 @@
License
-------
-This is free and unencumbered software released into the public domain.
-See the `UNLICENSE` file or <http://unlicense.org/> for more details.
+This is free software released into the public domain (CC0 license).
+See the `COPYING` file or <http://creativecommons.org/publicdomain/zero/1.0/>
+for more details.