A web application written in Clojure, with usage of Noir, Enlive, Korma and Lobos.
The webapplication works out-of-the-box with use of a SQLite database and Leiningen. Follow the link if you're unfamiliar with Leiningen.
The test user's username and password are both 'admin' to login.
We recommend to use a PostgreSQL or MySQL database for further development. We've included some Lobos migrations already for setting up the database tables. With migrations it becomes easier to make and manage database changes.
In the following steps, we assume you have the database already installed.
- First replace the JDBC driver of SQLite in the project.clj with the driver of PostreSQL or MySQL.
- Then replace the JDBC config in the src/timesheet/config.clj file.
- Finally execute the functions below to run the migrations on your database:
(use 'lobos.core) (migrate)
In case you want to use a Oracle database, an import script is included here: /resources/sql/oracle.sql
Copyright (C) 2011 FIXME
Distributed under the Eclipse Public License, the same as Clojure.