werc-quickstart

command module
v0.0.0-...-986294f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: Unlicense Imports: 9 Imported by: 0

README

What is werc?
Werc is a minimalist web anti-framework built following the Unix and Plan 9 tool philosophy of software design. (https://werc.cat-v.org/)

Quick start

1. download werc && install plan9 tools
hg clone https://code.9front.org/hg/werc/
apt install 9base

2. copy example site
cd ./werc/sites
cp -r werc.cat-v.org localhost

3. change shebang path
file: ./werc/bin/werc.rc 
#!/usr/bin/plan9/bin/rc
file: ./werc/bin/contrib/md2html.awk
#!/usr/bin/awk

4. start cgi server
go run server.go 
#go run server.go --root "./werc" --sites "sites" --addr ":8000"

5. access http://locahost:8000
lynx http://localhost:8000

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL