On Nov 7, 2012, at 11:44 AM, Linus Ericsson wrote:
> Nah, just forgot the vector in :cljsbuild {:builds *[* {:source ...} *]*
:-)
anyway to run the tutorials without code yourself just follow this steps
1. clone the git repository:
$ git clone https://github.com/magomimmo/modern-cljs.git
2. cd in the modern-cljs dir:
$ cd modern-cljs
3. launch the http-server (default port 3000) :
$ lein ring server
4. open a new terminal, cd in modern-cljs dir and launch cljsbuild compilation
$ lein cljsbuild auto
5. open a new terminal, cd in modern-cljs dir and launch repl-listen:
$ lein trampoline cljsbuild repl-listen
6. Tutorial 1/2/3: visit
http://localhost:3000/simple.html
7. tutorial 4 visit
http://localhost:3000/login.html
Depending on your machine you could wait a little to have a responsive cljs
repl where to evaluate cljs forms interacting with the browser
HIH
mimmo
> Of we go! /Linus
>
>
> 2012/11/7 Linus Ericsson <[email protected]>
> This looks really promising.
>
> One question: when one builds modern-cljs, is there any extra configuration
> needed for getting the clojurescript compiler up and running? I get a
> "java.lang.String cannot be cast to clojure.lang.Associative" when doing $
> lein buildcljs once, which I don't really know where to go on from. I have
> the clojurescript compiler installed... somewhere.
>
> /Linus
>
>
>
> 2012/11/7 Mimmo Cosenza <[email protected]>
> Thanx jaju…
> I'll try my best to go on with modern cljs tutorial in my spare time. I just
> published the 4th tutorial (form validation). Hope to be useful and fun.
>
> Mimmo
>
> On Nov 7, 2012, at 9:14 AM, Ravindra Jaju <[email protected]> wrote:
>
>> Perfect!
>>
>> Had been waiting for some thing like this, and I followed the first two
>> parts - worked flawlessly!
>>
>> Thanks!
>>
>> --
>> jaju
>>
>> On Mon, Nov 5, 2012 at 8:59 PM, Mimmo Cosenza <[email protected]>
>> wrote:
>> Hi,
>> I started a short series of tutorials on ClojureScript that I'm writing in
>> my spare time.
>>
>> You can find them at
>>
>> https://github.com/magomimmo/modern-cljs
>>
>> hope could be useful...and to have enough time to go on with the next ones...
>>
>> Mimmo
>>
>>
>> --
>> 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
>
>
> --
> 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
--
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