This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-30
Channels
- # announcements (4)
- # babashka (3)
- # beginners (5)
- # calva (20)
- # cider (12)
- # clj-kondo (7)
- # cljs-dev (2)
- # clojure (76)
- # clojure-uk (4)
- # clojuredesign-podcast (8)
- # clojurescript (18)
- # clojutre (1)
- # cursive (9)
- # data-science (27)
- # datomic (2)
- # fulcro (32)
- # graalvm (4)
- # jackdaw (5)
- # jobs (2)
- # joker (5)
- # lumo (20)
- # off-topic (18)
- # pathom (3)
- # shadow-cljs (18)
- # sql (5)
- # tools-deps (1)
- # vim (11)
I'm trying to set up a Cursive repl that can connect to my web app running on Heroku. Any recommendations?
I haven’t actually done this myself, no. Can you expose an arbitrary port from Heroku for an nREPL or socket server?
Actually, I should have followed that up - if it does allow you to expose a port, probably the easiest thing is to start a socket server: https://clojure.org/reference/repl_and_main#_launching_a_socket_server
You should then be able to connect with a remote socket REPL: https://cursive-ide.com/userguide/repl.html#remote-repls
Thanks. I don't think an arbitrary port is possible, so I'm thinking of proxying to Drawbridge on the Heroku box, maybe adapting https://github.com/malyn/lein-catapult Just wanted to see if anyone had a cleaner way before digging in.
@U8LN9KT2N Unfortunately Cursive doesn’t support Drawbridge right now. I made a serious attempt at it recently, but Drawbridge just totally failed to work for me. I didn’t get any useful nREPL support in time so I parked it - this reminds me, I should file an issue over there.