This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-30
Channels
- # adventofcode (11)
- # beginners (155)
- # boot (627)
- # cider (64)
- # cljs-dev (110)
- # cljsrn (36)
- # clojure (290)
- # clojure-austin (21)
- # clojure-russia (2)
- # clojure-spec (2)
- # clojure-uk (21)
- # clojurescript (81)
- # code-reviews (2)
- # core-async (33)
- # cursive (6)
- # datomic (9)
- # emacs (1)
- # hoplon (472)
- # instaparse (1)
- # lein-figwheel (4)
- # luminus (9)
- # om (2)
- # protorepl (10)
- # re-frame (10)
- # reagent (48)
- # schema (2)
- # sql (5)
- # untangled (17)
- # vim (1)
- # yada (108)
@drewverlee: we’re on AWS and we spin up 2 hand-built EC2 instances with the transactors on them. (You could also use the datomic AMI, but I got frustrated never being able to SSH into the instance and gave up on it). For our front-end builds we run lein cljsbuild
on a CircleCI server and then use lein essthree
to copy the results to an S3 bucket, which our server then references to put the javascript on the page. I haven’t really messed with the datomic REST API, but you’ll need some kind of server to interact with datomic - we use Elastic Beanstalk for ours, running Java SE.
@drewverlee we're also on AWS, but have the Datomic Transactor running in ECS containers. The IP adresses are reported dynamically to the storage (currently DynamoDB) upon startup.
Inspiration on the dynamic IP thing: https://github.com/enterlab/docker-aws-ecs-env
And yes, you can also SSH to the EC2 instance(s) backing ECS. And do backups/restores of Datomic data etc.
@mikethompson I'm trying to dig up a reference to multimethods causing problems with reagent reloading. I remember discussing this with you. Do you have a pointer by any chance?
@timgilbert @luposlip Thanks for the advice, I have gotten several suggestions for AWS so i hope there is some handy docs lying around the net to help me get started 🙂. Ill have to take a look this weekend.
That looks cool @luposlip, was it hard to get up and running? I played around with running datomic in a docker container for a while and eventually gave up on it, but our current way of upgrading transactors between releases is pretty manual and finicky
No @timgilbert, with this script it's actually pretty easy! 🙂 Let's consider shifting to the #datomic for further discussion in this thread 😉
https://github.com/kishanov/re-frame-datatable - just released new version of DataTable component for re-frame. Adds customizable pagination controls, features to provide additional structure (tfoot, additional rows in thead) and some events for selected data
I’ve also imlpemented a full-featured demo app (https://kishanov.github.io/re-frame-datatable-example/) that uses most of the features of DataTable to build gmail-like interface