Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 737 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 737 Bytes

Go-HTTP-Server

Simple command-line interface program which runs an HTTP web server with a file provided as a CLI argument.

Installation guide

git clone https://github.com/kploskonka/Go-HTTP-Server.git
cd GO-HTTP-Server
go test . (optional, to check if tests are passing)
go build
.\Go-HTTP-Server.exe <command> <arguments>

Alternatively, go to Releases, download Go-HTTP-Server.exe and run the last command.

Available commands

help - Displays all commands
version - Displays the current version of the program
run --file <index.html> - Starts an HTTP web server serving the HTML file provided as an argument

Katarzyna Płoskonka in 2021