Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Code formatting on readme.

  • Loading branch information...
commit f3e1eba83910a2fa24b4ccffb8048b4676115588 1 parent 97eb2f9
@mmcgrana authored
Showing with 17 additions and 9 deletions.
  1. +17 −9 README.textile
26 README.textile
@@ -7,20 +7,26 @@ The @SPEC@ file at the root of this distribution for provides a complete descrip
h2. Quick Start
First clone the Ring source and download Ring's dependencies:
- git clone git://
- cd ring
- ant deps
+git clone git://
+cd ring
+ant deps
To see a live "Hello World" Ring app, run:
- java -Djava.ext.dirs=deps clojure.main src/ring/example/hello_world.clj
+java -Djava.ext.dirs=deps clojure.main src/ring/example/hello_world.clj
Now visit @http://localhost:8080/@ in your browser; the Ring app will respond to your request with a simple HTML page indicating the time of day.
To see a more sophisticated Ring app, run:
- java -Djava.ext.dirs=deps clojure.main src/ring/example/wrapping.clj
+java -Djava.ext.dirs=deps clojure.main src/ring/example/wrapping.clj
* If you request @http://localhost:8080/@ in your browser the @ring.handler.dump@ handler will respond with an HTML page representing the request map that it received (see the @SPEC@ for details on the request map).
* If you request @http://localhost:8080/clojure.png@, the @ring.middleware.file@ middleware will detect that there is a @clojure.png@ file in the app's @public@ directory and return that image as a response.
@@ -45,8 +51,10 @@ h2. Development
Ring is being actively developed; you can track its progress and contribute at the project's "GitHub":: page.
To run all the Ring unit tests:
- java -Djava.ext.dirs=deps clojure.main test/ring/run.clj
+java -Djava.ext.dirs=deps clojure.main test/ring/run.clj
You can learn more about Ring's dependencies at the following sites:
Please sign in to comment.
Something went wrong with that request. Please try again.