Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
resources/public
src/my_cloj_webapp
test/my_cloj_webapp
.gitignore
Dockerfile
Makefile
README.md
my-cloj-webapp.iml
project.clj

README.md

my-cloj-webapp

A Simple URL Shortener in Clojure.

Docker Linking is done with:

https://docs.docker.com/userguide/dockerlinks/

Prerequisites

You will need Leiningen 2.0.0 or above installed. You will need to have a redis server running.

Running

To start a web server for the application, run:

lein ring server

Tests

lein test

Build & Deploy with Docker

make image
# Run Redis
docker run --name new-red -d redis

#Run
docker run --name clj --link new-red:new-red -p 5000:5000 -d my-cloj

License

Copyright © 2015 Bill Chambers