Skip to content

Plan9-Archive/gowerc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOWERC

clone of http://werc.cat-v.org/ in go.

features

  • virtual hosting
  • render markdown, html, plain text
  • serve files
  • read content from zip file

building

with go

go get -d bitbucket.org/mischief/gowerc
go install bitbucket.org/mischief/gowerc

in docker

check out the repo and run:

make

configuration

see the example configuration files in werc

using a zip file

zip a directory up and pass it to gowerc's -root option.

zip -r werc.zip werc

running

gowerc -l :80 -root werc/

with a zip file:

gowerc -l :80 -root werc.zip

in docker

docker run --rm --name gowerc -v $PWD:/opt mischief/gowerc -root /opt/werc.zip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published