-
-
Notifications
You must be signed in to change notification settings - Fork 30
Deploy to heroku #10
Comments
Steps taken for carnival-staging that will have to occur again on -production:
|
I have this effectively working in pb-deploy-to-heroku, but I can't get around the build timeout. The anvil instructions in that link don't seem to be making subsequent deploys any faster. Will investigate next week. |
OK. So it looks like the buildpack README is just misleading: begriffs/heroku-buildpack-ghc#16 If I'm reading this correctly, it's an open problem that subsequent normal pushes after an Anvil build will not reuse the cache and will likely timeout. But, the Anvil build does actually deploy the app. I was probably not realizing this because I was attempting to deploy a non-master branch. I'm going to re-run an anvil build with local commits on master and see if that results in a successful deploy. If so, we can just state that Anvil is the way to deploy carnival -- that is, until the above issue is resolved. |
Update: After a few tries, I managed to get past the Anvil errors. It required a combination of That means staging is live now: http://carnival-staging.herokuapp.com/user I now just need to create a new OAuth App on Learn and set the environment variable for it to start working -- for now, it's falling back to dev credentials which don't work. |
Closing for #27 |
https://github.com/begriffs/heroku-buildpack-ghc
The text was updated successfully, but these errors were encountered: