Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 370 Bytes

README.md

File metadata and controls

18 lines (17 loc) · 370 Bytes

metty

Simple server. To run just type:

$ bash httpd -c <NCPU> -r <ROOT_DIR>

Also can by typed -p to specify port (Default port is 80).

Default root can be specified from this github:

$ bash httpd -c 4 -r "DOCUMENT_ROOT"

If everything OK, you will see message:

Server started at port: 80
CPU count is: 4
ROOTDIR is: DOCUMENT_ROOT