diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2009-02-17 20:51:27 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2009-02-17 20:51:27 +0100 |
commit | 54c04f85adb6938ef9ef27b5d7a1ab592fb30461 (patch) | |
tree | 8bdaf5f571f4315020bde55313cf5cea780aba2d |
Initial “hello world” commit.
-rw-r--r-- | cljssss-g.clj | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cljssss-g.clj b/cljssss-g.clj new file mode 100644 index 0000000..6987a56 --- /dev/null +++ b/cljssss-g.clj @@ -0,0 +1,19 @@ +(ns cljssss-g + (require [net.cgrand.enlive-html :as enlive] + [clojure.xml :as xml] + compojure) + (use compojure)) + +(defservlet cljssss-g + (GET "/" + (html [:html + [:head + [:title "Gödel-Gentzen Clojure Syndication Services Super System"]] + [:body + [:h1 "Gödel-Gentzen Clojure Syndication Services Super System"] + [:p "Fnord."]]])) + (ANY "*" + (page-not-found))) + +(run-server {:port 8080} + "/*" cljssss-g) |