Skip to content

A simple web-server for serving static content, ideal for local testing.

Notifications You must be signed in to change notification settings

davidwashere/daserve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DaServe

daserve An extremely basic web server for serving static content

Install

Clone the repo and run go install from inside the cloned directory

Usage

To start with default settings (and content), simply run:

daserve

Help

$ daserve --help
Runs a basic web-server for serving static content

'dir' is the directory to serve (default "./static")

Usage:
  daserve [flags] [dir]

Flags:
  -g    Opens default browser on launch
  -h string
        Host address to bind (default "127.0.0.1")
  -p string
        Port to listen on (default "9080")

About

A simple web-server for serving static content, ideal for local testing.

Resources

Stars

Watchers

Forks