jaceklaskowski / librarian-clojure

Book manager in Clojure
http://librarian-clojure.herokuapp.com/
22 stars 4 forks source link

librarian-clojure Build Status

Book manager for Warszawa Java User Group written in Clojure.

The views (and perhaps other parts, too) are heavily inspired by the mametipsum and the Basic marketing site from Bootstrap's Examples projects.

The project is developed with Leiningen 2.0.0.

Running the project

  1. Install leiningen
  2. Install MongoDB
  3. Run MongoDB, e.g. mongod --dbpath ~/oss/librarian-clojure/data/db
  4. Go into project's directory and execute lein run-local

A browser window shows up with the welcome page of the application.

Running the project in REPL (with lein repl)

  1. Go into project's directory
  2. Execute lein repl
  3. In REPL, execute (go) to start a server and open the welcome page.
  4. To stop the server, execute (stop).

When you make changes to the templates, follow Template out of date and execute (load "page") at the REPL.

How to contribute (test first, please)

  1. Open a terminal and fire up lein midje --lazytest
  2. Write a test that fails (see Issues for ideas)
  3. Fix, commit and send a pull request
  4. Rinse and repeat

License

Copyright (C) 2012 Konrad Garus, Adrian Gruntkowski, Jacek Laskowski, and contributors

Distributed under the Eclipse Public License, the same as Clojure.