Hey all,

I've tried to get a Compojure/Ring application running on Heroku's Cedar
stack ( but failed, obviously, :). I've followed these guides

   - http://devcenter.heroku.com/articles/quickstart
   - http://devcenter.heroku.com/articles/clojure


First, I deployed B), then seemed to successfully set off a web dyno C).
But I don't see anything, when going to my app's URL. Running a heroku ps
displayes the running processes, but I can't access my app from the web.
Anything in particular I'm missing? Do I need to use git's master branch ?
If I use lein run in my Procfile (I've tried several commands), how does
Heroku (or foreman) know which http handler to run (again a Compojure/Ring
app) ?


*B) *$ git push heroku <my-custom-branch>
Counting objects: 4, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 293 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
To [email protected]:high-night-9597.git
   36e7c18..050ea6d  account-chooser -> <my-custom-branch>


*C) *$ heroku ps:scale web=1
Scaling web processes... done, now running 1


*D) *$ heroku ps
Process  State             Command
-------  ----------------  ---------
run.1    complete for 11m  lein repl
web.1    created for 8m


*E) *$ heroku run lein repl
Running lein repl attached to terminal... up, run.1


*F) *Procfile:
-web: lein exec src/<my-file>.clj
+web: lein run


Thanks in advance
Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to