Fork me on GitHub
#datomic
<
2016-12-30
>
drewverlee04:12:48

@wilkerlucio One thing to note is you need a heroku private space in order for that to work. At least thats what i concluded when i tried that.

drewverlee04:12:57

@wilkerlucio you also need the Datomic Pro version.

drewverlee04:12:28

I haven’t gotten that to work. When i deployed it along side a luminus plus reframe setup the procfile didn’t seem to trigger a build of the clojure app, so i ended up with a clojure.main not found. Which lead me to believei had several more steps to go in order to deploy an app with heroku on datomic. Its possible that buildpack deploys only datomic on heroku and you have to somehow deploy a separate app to heroku and tell them how to communicate. It wasn’t clear to me, and at that point i figure it might be easier to just use AWS where i have more control...

wilkerlucio15:12:02

thanks @drewverlee , I was able to build the clojure but it's failing to install the datomic dependency, I guess I have to setup a private repository for it... I'm starting to think about aborting Heroku, the reason to pick it was easy of use, since it's not being very easy maybe I'm better on AWS like you said

drewverlee16:12:32

@wilkerlucio > I'm starting to think about aborting Heroku, the reason to pick it was easy of use, since it's being very easy maybe I'm better on AWS like you said Those thoughts echo my own. But take what i say with a grain of salt as this is a new realm for me.

wilkerlucio16:12:00

maybe we can have the transactor in AWS and the Clojure app on Heroku, deploying a non-datomic app seems easy there

curtosis17:12:26

@drewverlee I don’t know about your dependency problem, but yes - you need to deploy two apps (transactor + peer/client). IIRC getting them to communicate is why you need access to Heroku Spaces, which is not currently a standard part of the service.

drewverlee18:12:11

@curtosis Makes perfect sense, i dont think thats explicitly stated in the buildpack i was looking at. But it probably assumes you can put two and two together. Sadly Heroku Spaces seems to require heroku enterprise which costs thousands of dollars. Not ideal for setting up a for fun personal app.

curtosis19:12:22

I think when that article was posted originally, Spaces was in limited beta so you could get it enabled on request.