When you say "Clojurescript lib" do you mean a project because your example begins with starting a project, not a lib. I understand a lib to mean something included in a project or web app, not the project/app itself. These things can confuse a beginner. I also have no idea, from the git notes, how this lib/app references PhantomJS as there are no instructions as to where to locate the phantom.js file. Of course I may be missing the obvious but .... I'm a beginner :)

gvim

On 13/01/2014 15:53, Mimmo Cosenza wrote:
I just published to clojars the 0.1.1 release of cljs-start lein
template to create a batteries included Clojurescript lib.

https://github.com/magomimmo/cljs-start

This release uses lein profiles (:user, :dev, :simple and :advanced) to
keep the corresponding CLJS builds separated from each other (thanks so
much to Laurent Petit for the suggestion).

quick start:

lein new cljs-start wonderful-lib
cd wonderful-lib
lein compile
lein repl
(run)
(browser-repl)

Then visit the localhost:3000 and after the connection is established
(few moments) you can start repling in CLJS with your browser.

Quick start with latest Eclipse/CCW (Thanks to Laurent Petit):

1. File -> New Project -> Clojure Project:
- project name: wonderful-lib
- Leingen template: cljs-start
Click Finish
2. Right Click on wonderful-lib in the Package Explorer -> Leiningen ->
Launch Headless REPL for the project
Once in the REPL:
(run)
(browser-repl)

Then visit the localhost:3000 and after the connection is established
(few moments) you can start repling in CLJS with your browser

HIH
Mimmo



--
Note that posts from new members are moderated - please be patient with your 
first post.
--- You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to