This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-18
Channels
- # announcements (11)
- # architecture (1)
- # aws (2)
- # beginners (101)
- # calva (3)
- # clj-kondo (2)
- # cljdoc (1)
- # cljs-dev (20)
- # clojure (92)
- # clojure-dev (34)
- # clojure-france (1)
- # clojure-italy (2)
- # clojure-spec (13)
- # clojure-uk (3)
- # clojurescript (28)
- # cursive (7)
- # data-science (58)
- # datomic (18)
- # docs (1)
- # fulcro (11)
- # graphql (3)
- # hoplon (25)
- # klipse (3)
- # leiningen (4)
- # nrepl (3)
- # off-topic (57)
- # pedestal (1)
- # portland-or (1)
- # precept (1)
- # reagent (5)
- # reitit (2)
- # rewrite-clj (4)
- # ring (1)
- # shadow-cljs (97)
- # sql (90)
- # tools-deps (2)
is there a way to give my EC2 instance running outside the Datomic Cloud access to Datomic?
you mean in a different VPC? then I guess need to tunnel through the bastion just as when doing local dev or configure VPC peering or some newer VPC tricks
right, now I'm thinking for my system it'd be easier to communicate via SQS or some other message bus than direct access to the DB
I have an Ion running with a API Gateway custom domain, accessable at https://example.com/d but I can’t seem to understand how to go about hosting the naked domain. Has anyone been able to host a site from within an Ion on the naked domain? I’m playing around to learn Ions & API Gateway and thought it would be handy to host the entire SPA from the Ion. But I’m starting to think API Gateway really wants to host an API 🙂
For this I always host the static assets out of cloudfront backed by an S3 bucket. I know its possible to host static assets on ions using pedestal.ions.
Create a CloudFront distribution for the AG URL, point your domain to the CloudFront URL. Also makes serving static resources from S3 optional since they will be sitting cached in the edge network anyway.
I've also managed to set it up with Route53 pointing directly to AG, but I don't remember the settings right now.
I'm serving static resources directly from an Ion using Reitit by the way, so Pedestal is optional.
I did a quick test with a baby in my lap (so no extensive testing) and by adding a metod to the initial / (not proxy) it looks to work
I did that, but I no longer have that datomic account running and I don't remember the details, sorry 😕
that was with the old API gateway to AWS lambda bridge; I haven't done this with the new HTTP Direct thing
In the :where
clause of a d/q
are we allowed to call any function we have defined in our code? Or only the ones in clojure core?
I’m running into the same issue as this guy