Little web static server to serve static files.
- Download or clone this project
- Compile it:
- With
make buildto get a bianry namedgss. - With
make installto install the executable in the$GOBINdirectory - With
make-in-ctnto build it in a container and get a binary namedgss
- With
- Start the server
--helpor-hflag will list available options--hostflag define the host address the server listen (default is "0.0.0.0")--portor-pflag define the listen port number (default is 8080)--diror-dflag define the directory to serve (default is the current directory aka. "./")--base-urlflag define the base url of the server (default is "/").