Skip to content

Instantly share code, notes, and snippets.

@bobo
Created August 28, 2010 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobo/555465 to your computer and use it in GitHub Desktop.
Save bobo/555465 to your computer and use it in GitHub Desktop.
(ns SimpleTasks.core
(:use compojure.core,hiccup.core, ring.adapter.jetty))
(defn display []
(html [:h1 "hello!"]))
(defroutes myroutes
(GET "/" [] (display)))
(defonce server (run-jetty #'myroutes
{:join? false
:port 8080}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment