typical way of running clojure programs -
i'm new clojure , confused how should run clojure programs.
my first question whether every clojure program leiningen package? if want write start creating new leiningen project? there run clojure programs similar python(ie python pyfile.py)
i realize might stupid question, i've been confused while , few books/tutorials i've gone through don't seem answer question properly. upto now, i've been running clojure code in repl.
since found leiningen straight off you're on right track. it's not silly question because answering others better google results.
each clojure program should separate leiningen project, run
lein new project-nameeach of them.the result of building clojure project same java project, jar file gets run
java -jar myproject-standalone.jarinstanceleiningen can build wrapper shell script produces .sh file calls java -jar
when run clojure programs in production @ work check them out of git , call
lein runin directory (actually jenkins this).
Comments
Post a Comment