update readme

This commit is contained in:
Robin Appelman 2017-04-08 22:17:28 +02:00
commit 0235a9d348

View file

@ -6,8 +6,16 @@ Basic server that parses demos provided either by upload or url
### Upload
Send a POST request with the demo file to example.com:5000/parse
Send a POST request with the demo file as raw body to `example.com/parse`
### Url
Send a POST request with the url of a demo file to example.com:5000/url
Send a POST request with the url of a demo file as raw body to `example.com/url`
#### Custom port
You can configure the port the server listens on by setting the `PORT` environment variable.
#### Docker
A preconfigured docker image with the server is available as `demostf/demoserver`