A link shortener written as a learning tool for clojure, ring, noir, drift (migrations), and hsqldb
This is very much a work in progress. There is nothing functional about it, yet.
- Download hsqldb 2.2.5
- Install clojure
- Install leiningen
-
Run the database
java -cp ../hsqldb/lib/hsqldb.jar org.hsqldb.server.Server \ --database.0 file:mydb --dbname.0 xdb
-
Run Zookeeper
Create the config file conf/zoo.cfg by copying conf/zoo_sample.cfg.
./bin/zkServer.sh start
-
Download dependencies
lein deps
-
Run the tests
lein test
-
Run the migrations
lein migrate -version 1
-
Run the server
lein run
Copyright (C) 2011 David Krisch
Distributed under the Eclipse Public License, the same as Clojure.