Also, is there a Google Group for Jig? I'm playing around with it, can see
the potential, and already have some questions. Anyways, in the meantime,
I'll keep digging. I'm finding jig really useful so far.


*A)* As taken from the example, I'm using the Jetty :server
component<https://github.com/juxt/jig/blob/master/config/config.clj#L6>.
I'm trying to figure out how to pass in my Compojure route
handler<https://github.com/weavejester/compojure-example/blob/master/src/compojure/example/routes.clj>
 (also 
see<http://weavejester.github.io/compojure/compojure.handler.html#var-site>)
to
jetty. This is how its done
manually<https://github.com/ring-clojure/ring/wiki/Interactive-Development#iii-manually>.
But obviously, I need to fit that into the jig framework.


  :server {:jig/component jig.web.server/Component      ;; how do I
pass in my Compojure route handler ?
           :io.pedestal.service.http/port 8000

           :io.pedestal.service.http/type :jetty
           }



*B)* Same thing with Pedestal. I want to be able to pass in my app's
routing table. But I don't quite grok how to do that, from the examples (
here <https://github.com/juxt/jig/blob/master/config/config.clj#L28> and
here <https://github.com/juxt/jig/blob/master/src/jig/web/app.clj>).


  :juxtweb/web {:jig/component jig.web.app/Component    ;; how do I
pass in my routing table of handlers ?
                :jig/dependencies [:server]
                :jig/scheme :http

                :jig/hostname "localhost"
                :jig.web/server :server
                }



Thanks

Tim Washington
Interruptsoftware.ca / Bkeeping.com



On Thu, Oct 17, 2013 at 7:30 PM, zcaudate <z...@caudate.me> wrote:

> Would it be possible to put up a video of a typical workflow example with
> pedestal. It's quite difficult for me to piece everything together just by
> reading the documentation.
>
> Chris
>
>

-- 
-- 
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.

Reply via email to