No, I didn't try that since it wasn't in the README.md file. I thought the
steps described in the readme should be sufficient to run the repl, isn't
it?

2012/5/22 Pierre-Henry Perret <[email protected]>

> Hoops ----->  Have you started the dev server ? repl > (dev-server) ?
>
> Le mardi 22 mai 2012 10:29:00 UTC+2, D.Bushenko a écrit :
>
>> I have just tried 
>> http://localhost:8080/**development<http://localhost:8080/development>
>> as well as 
>> http://localhost:9000/**development<http://localhost:8080/development>-- 
>> nothing happens. The server doesn't respond to the first URI at all, the
>> second URI just doesn't exist.
>>
>> 2012/5/22 Pierre Henry Perret <[email protected]>
>>
>>> Hi Dimitry,
>>>
>>> Have you tried 
>>> http://localhost:8080/**development<http://localhost:8080/development>
>>>
>>>
>>> ?
>>>
>>> --
>>> Pierre
>>>
>>>
>>>
>>>
>>> 2012/5/22 D.Bushenko <[email protected]>
>>>
>>> Hi all,
>>>>
>>>> I'm trying to run clojurescript repl connected to browser and have
>>>> failed in all my attempts. I'm running the "clojurescript/samples/repl"
>>>> project provided with the clojurescript distribution. I'm following the
>>>> README.md step by step and doing the following:
>>>>
>>>> dim@tarantoga:~/clojure/**clojurescript/samples/repl$ ../../script/repl
>>>> Clojure 1.4.0
>>>> user=> (use 'cljs.closure)
>>>> nil
>>>> user=> user=> (def opts {:output-to "main.js" :output-dir "out"})
>>>> #'user/opts
>>>> user=> (build "src" opts)
>>>> nil
>>>> user=> (require '[cljs.repl :as repl])
>>>> nil
>>>> user=> (require '[cljs.repl.browser :as browser])
>>>> nil
>>>> user=> (def env (browser/repl-env))
>>>> #'user/env
>>>> user=> (repl/repl env)
>>>> "Type: " :cljs/quit " to quit"
>>>> ClojureScript:cljs.user> (+ 1 1)
>>>>
>>>> Then I open the file clojurescript/samples/repl/**index.html in my
>>>> Firefox 12 and waiting for the result of evaluation of the last expression
>>>> "(+ 1 1)". Nothing happens, the repl just hangs.
>>>>
>>>> If I navigate to localhost:9000 everything goes OK, the repl works.
>>>>
>>>> What I'm doing wrong and how to connect the repl to the web page?
>>>>
>>>> P.S. Using java version "1.6.0_32"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
>>>>
>>>> Dmitry
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To post to this group, send email to [email protected]
>>>> Note that posts from new members are moderated - please be patient with
>>>> your first post.
>>>> To unsubscribe from this group, send email to
>>>> clojure+unsubscribe@**googlegroups.com<clojure%[email protected]>
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en>
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to [email protected]
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+unsubscribe@**googlegroups.com<clojure%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to