I've tried to get a Compojure/Ring application running on Heroku's Cedar stack (but failed). I've followed these guides
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
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 ->
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/.clj
+web: lein run