ws 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +16 -8
- metadata +1 -1
data/README.md
CHANGED
@@ -2,32 +2,40 @@ ws(3) -- Simple Local Web Server
|
|
2
2
|
=============================
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
|
+
:::text
|
6
|
+
ws \[-v | --verbose\] \[-d | --directory DIRECTORY\] \[-p | --port PORT\] \[-h | --help\]
|
5
7
|
|
6
|
-
|
8
|
+
## INSTALLTION
|
9
|
+
|
10
|
+
To install, make sure you have the latest version of Ruby and RubyGems installed (tested and working on Ruby 1.9.3, RubyGems 1.8.19) and execute `gem install ws`.
|
7
11
|
|
8
12
|
## DESCRIPTION
|
9
13
|
|
10
|
-
ws is a simple script which launches a server for testing of static websites.
|
14
|
+
`ws` is a simple script which launches a server for testing of static websites.
|
11
15
|
|
12
16
|
## EXAMPLES
|
13
17
|
|
14
18
|
### Launch a server with the current directory as the root
|
15
19
|
|
16
|
-
|
20
|
+
:::text
|
21
|
+
ws
|
17
22
|
|
18
23
|
### Launch a server with the current directory as the root, on port 1337
|
19
24
|
|
20
|
-
|
25
|
+
:::text
|
26
|
+
ws -p 1337
|
21
27
|
|
22
28
|
### Launch a server on port 1337, with the home folder as the root, in verbose mode
|
23
29
|
|
24
|
-
|
30
|
+
:::text
|
31
|
+
ws -d ~ -p 1337 -v
|
25
32
|
|
26
33
|
### Show help
|
27
34
|
|
28
|
-
|
35
|
+
:::text
|
36
|
+
ws -h
|
29
37
|
|
30
38
|
## Author
|
31
39
|
|
32
|
-
Kenneth Powers
|
33
|
-
http://bitbucket.org/KenPowers
|
40
|
+
Kenneth Powers [`mail@kenpowers.net`](mailto:mail@kenpowers.net)
|
41
|
+
[http://bitbucket.org/KenPowers](http://bitbucket.org/KenPowers)
|