Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

dumbserve

dumbserve is a really dumb web server written in the Go programming language. It renders static html files from paths passed to it as arguments. You may also specify a port for it to run on. It does not fork or run in the background on it's own. Should you require that dumbserve run as a daemon, I suggest using daemontools.

Requirements

You must have a working Go build system available to use dumbserve.

Installation

luser@lolcathost:~$ go get github.com/cdarwin/dumbserve
luser@lolcathost:~$ go intsall github.com/cdarwin/dumbserve

Usage

luser@lolcathost:~$ dumbserve -p 9090 -webroot /var/www -altroot /var/alt

Webhook

dumbserve makes some assumptions. One of which is that you're serving files which are under version control by Git. If dumbserve is accessible from the internet, you can use the POST to the /github enpoint to update the local copy of your repo. Check out more on GitHub Post-Receive Hooks

Docker Pull Command
Owner
cdarwin
Source Repository