summaryrefslogtreecommitdiffstats
path: root/go/README
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-06 00:09:21 +0100
committerlassulus <lassulus@googlemail.com>2014-01-06 00:09:21 +0100
commitb62891213655ecae9f8abf859d571b8730460d62 (patch)
treef6fa7273ce66b43486d6dbaae09a9e56b89bb700 /go/README
parentf98847bb46197e2872705abf9278fda26895d75d (diff)
parenteec4484676565be3384fde82f8fcbc71f1fe0ffe (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'go/README')
-rw-r--r--go/README25
1 files changed, 0 insertions, 25 deletions
diff --git a/go/README b/go/README
deleted file mode 100644
index 78f6b195..00000000
--- a/go/README
+++ /dev/null
@@ -1,25 +0,0 @@
-go - minimalistic uri shortener
-
-# installation
- npm install
-
- optionally
- npm install hiredis
-
-# run service
- PORT=1337 node .
-
-# add uri
- curl -F uri=https://mywaytoolonguri http://localhost:1337
-
- this will give you a relative shortened uri.
-
-# resolve uri
-
- curl -L http://localhost:1337/shortened-relative-uri
-
-# clear database
-
- redis-cli keys 'go:*' | xargs redis-cli del
-
- if you have changed `redisPrefix`, then use that instead of `go:`.