Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@konrad-garus
Created September 21, 2010 20:13
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 konrad-garus/590444 to your computer and use it in GitHub Desktop.
Save konrad-garus/590444 to your computer and use it in GitHub Desktop.
; project.clj
(defproject enc-test "1.0.0-SNAPSHOT"
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
[ring/ring-jetty-adapter "0.3.0"]
[compojure "0.4.1"]]
:repl-init-script "src/encoding_issue/repl.clj")
; repl.clj
(ns encoding-issue.repl
(:gen-class)
(:use [ring.adapter.jetty])
(:use [compojure.core]))
(defroutes handler (GET "/" [] "Zażółć gęślą jaźń"))
(run-jetty handler {:port 17080})
; run as
; lein deps
; lein repl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment