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-name each of them.

  • the result of building clojure project same java project, jar file gets run java -jar myproject-standalone.jar instance

  • leiningen 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 run in directory (actually jenkins this).


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -