diff options
Diffstat (limited to 'go/README')
-rw-r--r-- | go/README | 25 |
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:`. |