-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:production profile two ways #22
Comments
I'm struggling with dependencies in production on heroku:
:production profile: :production {:app-specific "config"
:mirrors {#"central|clojars"
"http://s3pository.herokuapp.com/clojure"}} Tried a number of combinations, but without much success. Those two artifacts are very recent, and one of them is critical. Is it possible the mirror repo isn't updated recently, and if so, is it possible to update it soon? |
Sorry you're having trouble here. Using this mirror for Clojars turned out to not be a great idea, and the buildpack was updated, but the docs were not, so thanks for catching this. I'll update the devcenter. If the mirror is giving you trouble you can remove it from the production profile altogether to debug too. |
I removed the mirror altogether for debugging purposes. Profile is like this: :production {:app-specific "config"} Now I have alot of artifacts missing. I guess the previously configured mirror was providing some artifacts.
Some suggestions:
Finally, if the mirror is not a choice anymore, which is or will be to prevent the dreaded boot timeout error? |
If dependency resolution is happening at app boot time, that's a problem. Dependencies should be resolved only during build time. I've just pushed a change that disables the offline behaviour in the production profile. I've been making some changes on the |
If that doesn't take care of things feel free to email me with your app name and I can take a closer look. |
"...and changing your Procfile entry as the readme describes there..." Fails to find lein -
I'm using PATH=.lein/bin:/usr/local/bin:/usr/bin:/bin JAVA_OPTS="-Xmx500m -Duser.home=$BUILD_DIR" lein uberjar 2>&1 | sed -u 's/^/ /' I also have enviroment |
I can't tell what's going on from your comment; if you email me your app name I can take a closer look. |
The push was rejected, so the above changes are not included. Hope this isn't a problem. Emailing. |
Currently, what's the correct way to configure the :production profile?
As is in this repo's readme.md
or?
as is on heroku dev center
The text was updated successfully, but these errors were encountered: