From 0afc64d121af21e8fa147acfc8419297a0a81d22 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 6 Jan 2014 00:02:01 +0100 Subject: go: README looks like markdown --- go/README | 27 --------------------------- go/README.markdown | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 go/README create mode 100644 go/README.markdown (limited to 'go') diff --git a/go/README b/go/README deleted file mode 100644 index 17deb7d6..00000000 --- a/go/README +++ /dev/null @@ -1,27 +0,0 @@ -go - minimalistic uri shortener - -# installation - npm install - - optionally - npm install hiredis - -# run service - HOSTN=go PORT=80 node . - - if you omit `HOSTN`, then relative shortened uris will be generated. - -# add uri - curl -F uri=https://mywaytoolonguri http://go - - this will give you a shortened uri. - -# resolve uri - - curl -L http://go/1 - -# clear database - - redis-cli keys 'go:*' | xargs redis-cli del - - if you have changed `redisPrefix`, then use that instead of `go:`. diff --git a/go/README.markdown b/go/README.markdown new file mode 100644 index 00000000..17deb7d6 --- /dev/null +++ b/go/README.markdown @@ -0,0 +1,27 @@ +go - minimalistic uri shortener + +# installation + npm install + + optionally + npm install hiredis + +# run service + HOSTN=go PORT=80 node . + + if you omit `HOSTN`, then relative shortened uris will be generated. + +# add uri + curl -F uri=https://mywaytoolonguri http://go + + this will give you a shortened uri. + +# resolve uri + + curl -L http://go/1 + +# clear database + + redis-cli keys 'go:*' | xargs redis-cli del + + if you have changed `redisPrefix`, then use that instead of `go:`. -- cgit v1.2.3