playdot/README.md

28 lines
735 B
Markdown
Raw Normal View History

2017-11-23 03:04:38 +01:00
# playdot - A simple playground for dpic and dot
A simple webservice that displays an editor for dpic- and dot-input and shows
the SVG-output or error messages below it. Allows for sharing of links to the
input.
2017-11-23 03:16:38 +01:00
You must first install
2017-11-23 03:17:19 +01:00
2017-11-23 03:18:18 +01:00
* dpic from https://ece.uwaterloo.ca/~aplevich/dpic and
* graphviz from https://graphviz.org
2017-11-23 03:16:38 +01:00
before you can use playdot properly.
## Install
% go get github.com/oec/playdot
% cd $GOPATH/src/github.com/oec/playdot
% go build
To run the server on port 9999 without TLS:
% ./playdot -l :9999
2017/11/22 18:13:13 handler for /dot/ registered
2017/11/22 18:13:13 handler for /dpic/ registered
2017/11/22 18:13:13 listening non-tls on :9999
See `./playdot -h` for further options.