No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.zero-http
bin
config
server
vendor
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
Makefile
README.md
zero-http
zero-http.go

README.md

zero-http

This is a replacement for python -m SimpleHTTPServer or python -m http.server.

Why

It explicitly makes sure not to cache any results and probably some other things eventually

Config

It reads a .zero-http folder either from the working directory or ~/.zero-http see this folder for an example

Docker

docker run -it -p 9443:9443 -v $(pwd)/config:/zero/.zero-http -v $(pwd):/zero/srv dylanowen/zero-http:latest zero-http

docker-compose.yml

version: "2"
services:
  serve-site:
    image: dylanowen/zero-http:latest
    volumes:
    - $PWD:/zero/srv
    - $PWD/config:/zero/.zero-http
    ports:
    - 9443:9443
    command: zero-http

Publish

make docker docker push dylanowen/zero-http:latest