Closed jennet closed 3 years ago
After digging through Heroku clojure support and checking against the course files, it seems the Procfile was adjusted to
web: java $JVM_OPTS -cp target/cheffy.jar clojure.main -m cheffy.server "resources/config.edn"
sometime around lesson 10
I've adjusted this for my project namespace and now the app starts OK.
I think you should probably mention this in the description of lesson 7 / Heroku deploy as I don't recall this ever being caught/explained in any of the lessons (though perhaps it was? I don't know)
Towards the end of the course I adopted the Heroku config 59 - Deploy
@jennet could we close this one? I added a note to lesson 7
stale
Back at the beginning of the course I found that my app was not deploying to heroku properly. I decided to leave it until the end of the course in case anything was amended along the way, but no joy.
The logs show:
The only thing I've done differently is that my project namespace is called
cheffy-api
rather thancheffy
, but I still build the jar ascheffy.jar
with:uberjar-name "cheffy.jar"
in my project.cljI can't see anything dubious in the log written when deploying to heroku
Any ideas?