Skip to content

Quick Start

fogus edited this page Dec 22, 2011 · 5 revisions

Quick Start

To launch the sample application and connect via the ClojureScript One REPL, complete the following steps.

First, set the path to the ClojureScript repository in your environment, like so:

export CLOJURESCRIPT_HOME=/path/to/clojurescript/repo

Next, cd into the ClojureScript One repository and execute the following:

script/run

You will be presented with a Clojure REPL that looks like the following:

user>

You're not quite there yet. Instead, to launch the ClojureScript REPL you need only to run the following:

(cljs-repl)

And you should see something like the following:

"Type: " :cljs/quit " to quit"
ClojureScript:cljs.user>

At this point the sample application will be accessible (and manipulable!) at the address http://localhost:8080 in your favorite browser.

Happy hacking!

Clone this wiki locally