Skip to content

Instantly share code, notes, and snippets.

@ibdknox
Created December 28, 2011 15:44
Show Gist options
  • Save ibdknox/1528423 to your computer and use it in GitHub Desktop.
Save ibdknox/1528423 to your computer and use it in GitHub Desktop.
Noir 1.2.2 project supposed to work on Tomcat 6 (but doesn't)
(defproject lyrionch "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:dependencies [[org.clojure/clojure "1.3.0"]
[noir "1.2.2"]
[korma "0.2.1"]
[mysql/mysql-connector-java "5.1.18"]]
:ring {:handler lyrionch.server/handler}
:main lyrionch.server)
(ns lyrionch.server
(:require [noir.server :as server]
[lyrionch.views.welcome]
[lyrionch.views.whatever-other-views-I-have))
;;(server/load-views "src/lyrionch/views/")
(def handler (server/gen-handler {:mode :dev
:ns 'lyrionch}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment