Fork me on GitHub
#hoplon
<
2016-05-02
>
levitanong13:05:26

whoa, that’s pretty cool

levitanong13:05:41

thanks for the link

thedavidmeister13:05:48

i haven’t tried it yet

thedavidmeister13:05:59

actually, i haven’t even got datomic working yet, only datascript simple_smile

thedavidmeister13:05:32

that talk in the youtube video is really similar to what i’m doing though

thedavidmeister13:05:44

so i thought it might be a good fit

levitanong13:05:18

i’ve gotten datomic working. what do you need help with?

thedavidmeister13:05:23

just reading through stuff

thedavidmeister13:05:42

i just installed datomic with homebrew

thedavidmeister13:05:51

the datomic command helpfully has no help 😉

thedavidmeister13:05:54

i might have to give up for tonight though

levitanong14:05:08

@thedavidmeister: Drop me a line if you have any questions, or need any sample code simple_smile

jumblerg17:05:27

@thedavidmeister: here’s part of my build.boot file that uses boot-datomic.

jumblerg17:05:44

basically, you just need to pass in the license key (datomic :license-key <key).

leontalbot23:05:19

Hi guys! How can I get client ip address when I use Castra?

leontalbot23:05:56

I have this function for regular REST communications

leontalbot23:05:05

(defn get-client-ip [req]
  (if-let [ip-str (get-in req [:headers "x-forwarded-for"])]
    (-> ip-str (s/split #",") first)
    (:remote-addr req)))

leontalbot23:05:23

but I don't know how to do this with Castra

leontalbot23:05:54

@jumblerg: Nice to hear from you again!

jumblerg23:05:30

@leontalbot: i’ve got my head down, making things happen, refactoring ui...