Hi, here is what I did for rssminer (A Clojure web app): https://github.com/shenfeng/rssminer/blob/master/src/rssminer/main.clj
define a main function, accept args from stdin, parse them, save the argument, call `start-server`, do init, bind to port, accept request On Wednesday, February 13, 2013 4:10:00 AM UTC+8, Ari wrote: > > Hi, > > How does one bootstrap web apps comprised of ring + compojure (and/or > aleph) + hbase/mongodb? Is there a best practice or recommended way? For > example, in Rails based apps a series of predetermined "initialization" > files are executed to fulfill various tasks, i.e. connect to dbs, message > queues, active background jobs, etc. Thanks. > > -Ari > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.