heroku / heroku-buildpack-clojure

Heroku's buildpack for Clojure applications.
MIT License
1 stars 1 forks source link

Question: Using bin/build script #67

Open JoelV opened 5 years ago

JoelV commented 5 years ago

When using the bin/build script with the following

#!/usr/bin/env bash

./bin/lein with-profile production trampoline run

cf push returns with a timeout. Am I doing something wrong here?

Error staging application <app-name>: timed out after 15 minute(s)

The app starts and runs just fine, just getting the above error

JoelV commented 5 years ago

We figured it out. We are setting the bin/lein file so that we can specify lein 2.9.1. We were trying to put the run command in a build script where compiling needs to occur. The reason we put the lein run command in the build that we kept getting lein not found after it was running. So we edit the profile to use web: ./bin/lein with-profile production trampoline run

Thanks!!