An open API service indexing awesome lists of open source software.

https://github.com/zabil/serve

Serve a directory's static content
https://github.com/zabil/serve

debugging http-server server static-site

Last synced: over 1 year ago
JSON representation

Serve a directory's static content

Awesome Lists containing this project

README

          

`serve` is a command line tool to quickly start a web server to
view static content.

### Usage

Serve the current directory

```
$ serve
Serving at http://localhost:3000
```

Serve specific directory

```
$ serve -d build/site
Serving at http://localhost:3000
```

Serve on a specific port

```
$ serve -p 1234
Serving at http://localhost:1234
```

### Install

```
$ go get github.com/zabil/serve
```