Installation added to README

This commit is contained in:
Özgür Kesim 2017-11-22 18:16:38 -08:00
parent 57fbd7bd17
commit 416a91aef8

View File

@ -4,5 +4,23 @@ 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 the SVG-output or error messages below it. Allows for sharing of links to the
input. input.
You must install dpic from https://ece.uwaterloo.ca/~aplevich/dpic and graphviz You must first install
first before you can use playdot. - dpic from https://ece.uwaterloo.ca/~aplevich/dpic and
- graphviz from https://graphviz.org
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.