Skip to content

Commit 2f2c8a2

Browse files
authored
Add a website hosting example on the README (#121)
1 parent 0d4e3f9 commit 2f2c8a2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ OPTIONS:
4343
4444
```
4545

46+
### Website hosting example
47+
48+
- Point the program to the website folder
49+
- The Home page of the website should be available on the root of the folder
50+
- The Home page should be named as `index.html`
51+
52+
```sh
53+
simple-http-server -i -p 80 folder-name
54+
```
55+
56+
This command will use the port 80 (the certified port for HTTP servers), you can change as you wish.
57+
4658
# Installation
4759

4860
### Download binary

0 commit comments

Comments
 (0)