aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_pastebin/start.sh
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-08 19:08:37 +0200
committerLoïc Hoguin <[email protected]>2013-09-08 19:08:37 +0200
commit630a8055412bb9622ca202ffb7008d418df78d5c (patch)
tree89f822e66008feb072ff368d14d65edd9530267b /examples/rest_pastebin/start.sh
parentdacaf5d293aacd0e98c5aca39c4cf03ec52d12dc (diff)
downloadcowboy-630a8055412bb9622ca202ffb7008d418df78d5c.tar.gz
cowboy-630a8055412bb9622ca202ffb7008d418df78d5c.tar.bz2
cowboy-630a8055412bb9622ca202ffb7008d418df78d5c.zip
Convert the REST pastebin example to a release
Diffstat (limited to 'examples/rest_pastebin/start.sh')
-rwxr-xr-xexamples/rest_pastebin/start.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/rest_pastebin/start.sh b/examples/rest_pastebin/start.sh
deleted file mode 100755
index 20e9375..0000000
--- a/examples/rest_pastebin/start.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-erl -pa ebin deps/*/ebin -s rest_pastebin \
- -eval "io:format(\"Upload: echo foo | curl -i --data-urlencode paste@- localhost:8080~n\")." \
- -eval "io:format(\"Get: curl <value of the location header>~n\")." \
- -eval "io:format(\"Get with highlighting: curl <location>?lang=<language>~n\")." \
- -eval "io:format(\"To get html, point your browser to http://localhost:8080~n\")."