Re: Slime and heroku setup question

2012-12-14 Thread Jonathon McKitrick
I confused the lein-noir plugin in profiles.clj with noir in my project.clj. Okay, I think I got it now On Friday, December 14, 2012 3:01:43 PM UTC-5, Phil Hagelberg wrote: > > On Fri, Dec 14, 2012 at 4:23 AM, Jonathon McKitrick > > wrote: > > Ah, right. Add-ons add capabilities, and lein

Re: Slime and heroku setup question

2012-12-14 Thread Phil Hagelberg
On Fri, Dec 14, 2012 at 4:23 AM, Jonathon McKitrick wrote: > Ah, right. Add-ons add capabilities, and lein plugins interface with them. > My mistake. No, Leiningen plugins have nothing to do with Heroku add-ons. Some add-ons (databases, etc) require dependencies for your app to consume them, but

Re: Slime and heroku setup question

2012-12-14 Thread Jonathon McKitrick
Thanks for pointing me to Vagrant. That looks like a great idea, especially since I develop primarily on a mac. On Thursday, December 13, 2012 6:47:46 PM UTC-5, Phil Hagelberg wrote: > > > So anything that's a heroku add-on will translate to a lein profile > entry, correct? > > No, add-ons and

Re: Slime and heroku setup question

2012-12-13 Thread Phil Hagelberg
On Wed, Dec 12, 2012 at 4:09 PM, Jonathon McKitrick wrote: > So basically, I need to get used to editing in emacs, uploading to heroku, > and (perhaps) interactively testing via a remote repl, correct? Sorry to > belabor the point, but I'm trying to flatten the learning curve. That's a good ques

Re: Slime and heroku setup question

2012-12-13 Thread Jonathon McKitrick
So anything that's a heroku add-on will translate to a lein profile entry, correct? Yes, my project is a simple server app that will take POST data, save it, and return it as JSON when queried. Humble beginnings. On Wednesday, December 12, 2012 8:59:04 PM UTC-5, Sean Corfield wrote: > > You sh

Re: Slime and heroku setup question

2012-12-12 Thread Sean Corfield
You should be able to run your app locally and do all your testing and development locally. Heroku is "just" a remote server for deployment. I'd suggest ignoring Heroku at first and focusing on getting your Clojure app running locally. Presumably you are building a Ring / Jetty app? On Wed, Dec 1

Re: Slime and heroku setup question

2012-12-12 Thread Jonathon McKitrick
So basically, I need to get used to editing in emacs, uploading to heroku, and (perhaps) interactively testing via a remote repl, correct? Sorry to belabor the point, but I'm trying to flatten the learning curve. On Wednesday, December 12, 2012 2:22:33 AM UTC-5, Phil Hagelberg wrote: > > On Tue

Re: Slime and heroku setup question

2012-12-12 Thread Jim Crossley
FWIW, direct socket access via an ssh tunnel is allowed on OpenShift, so connecting to the remote REPL (either nREPL or Swank) is simple and requires no HTTP transport, but all of Phil's general advice regarding the remote disk applies there, too. For an example, see http://immutant.org/news/2012/

Re: Slime and heroku setup question

2012-12-11 Thread Phil Hagelberg
On Tue, Dec 11, 2012 at 6:55 PM, Jonathon McKitrick wrote: > Well, I've used slime with SBCL for quite a while, but this is my first > foray into clojure and heroku. Are you basically saying the best approach > is just to edit locally, push to heroku, and run? I suppose if you ensure everything

Re: Slime and heroku setup question

2012-12-11 Thread Jonathon McKitrick
Well, I've used slime with SBCL for quite a while, but this is my first foray into clojure and heroku. Are you basically saying the best approach is just to edit locally, push to heroku, and run? There's really no way to have a similar environment set up locally that runs as well? I haven't

Re: Slime and heroku setup question

2012-12-11 Thread Phil Hagelberg
On Tue, Dec 11, 2012 at 11:07 AM, Jonathon McKitrick wrote: > I sort of got clojure interactively running and working with slime. I'd > like to interactively run and test in emacs, then push to heroku. Any > tutorials or pointers on how to do this? For what it's worth direct socket access is un