load-views when running multiple noir servers

Posted by Roth Michaels on Stack Overflow See other posts from Stack Overflow or by Roth Michaels
Published on 2012-05-31T17:58:28Z Indexed on 2012/06/02 16:40 UTC
Read the original article Hit count: 282

Filed under:
|
|
|
|

I'm experimenting with using noir to start three servers (each to handle a different aspect of the application). I am trying to do this so that I can run all three servers within one application while developing and easily decouple the project into three different applications for deployment.

It is no problem to use noir.server/start and noir.server/stop to run the jetty servers I need.

What I'm trying to figure out is some way to call load-views (or something like that) with a different set views for each server so that URI conflicts are handled by the correct defpage.

© Stack Overflow or respective owner

Related posts about clojure

Related posts about compojure