Re: Bootstrapping Web Apps

2013-02-12 Thread Feng Shen
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

Re: Bootstrapping Web Apps

2013-02-12 Thread Sven Johansson
On Tue, Feb 12, 2013 at 9:10 PM, Ari wrote: > 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

Re: Bootstrapping Web Apps

2013-02-12 Thread Mimmo Cosenza
I would try to do same thing I do when I need to initialise a simulated universe before running test. just a little bit more deep and less wide. mimmo On Feb 12, 2013, at 9:10 PM, Ari wrote: > Hi, > > How does one bootstrap web apps comprised of ring + compojure (and/or aleph) > + hbase/m

Bootstrapping Web Apps

2013-02-12 Thread Ari
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 q