Skip to content

Commit 0da9a16

Browse files
committed
[docs] Updating ReadMe
1 parent 74992d1 commit 0da9a16

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

README.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
`http-server` is a simple, zero-configuration command-line http server. It is powerful enough for production usage, but it's simple and hackable enough to be used for testing, local development, and learning.
44

5-
## Installation:
5+
# Installing globally:
66

7-
Installation is via `npm`. If you don't have `npm` yet:
7+
Installation via `npm`. If you don't have `npm` yet:
88

99
curl http://npmjs.org/install.sh | sh
1010
@@ -18,11 +18,27 @@ This will install `http-server` globally so that it may be run from the command
1818

1919
http-server [path] [options]
2020

21-
<img src="https://github.com/nodeapps/http-server/raw/master/screenshots/start.png"/></img>
22-
23-
The entire /mypath tree will now be available at `http://localhost:8080/`.
21+
# Installing as a node app
22+
23+
mkdir myapp
24+
cd myapp/
25+
jitsu install http-server
26+
27+
*If you do not have `jitsu` installed you can install it via `npm install jitsu -g`*
28+
29+
## Usage
30+
31+
### Starting http-server locally
32+
33+
node bin/http-server
34+
35+
*Now you can visit http://localhost:8080 to view your server*
36+
37+
### Deploy http-server to nodejitsu
38+
39+
jitsu deploy
2440

25-
<img src="https://github.com/nodeapps/http-server/raw/master/screenshots/directory.png"/></img>
41+
*You will now be prompted for a `subdomain` to deploy your application on*
2642

2743
## Available Options:
2844

0 commit comments

Comments
 (0)