-
Notifications
You must be signed in to change notification settings - Fork 75
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
how to deploy to heroku? #151
Comments
apparently this is because default python that heroku use is not builded with thus why our build is failed because to fix this problem here are the steps first, set your heroku buildpacksince using pycall.rb our apps is consist of multiple stack (Python, Ruby, Javascript)
optional step, clear your heroku build cacheheroku sometimes use build cache instead compiling from scratch, to clear it
second, add neccessary file & scripts to your rails projectthe python buildpacks from heroku need two file to run, build and install the dependencies
put those 2 files on root of your rails app folder, they are on same folder with your third, make heroku use python that have
|
@mrkn thanks for this gem with this gem I could get the best of two worlds python pandas and numpy + ruby and rails could we add this into wiki or but I think putting this on |
@buncis I'm sorry for my response to being late. PyCall's README already has the section that describes tips for deploying on Heroku. This section was added by the pull-request #134 on March 9, 2021. Did you check this part in README? |
@mrkn I have read that readme before, problem is I can't make my app work with that README I think we could close this issue right now and could you enable discussion or wiki in this github repo? so I could post my issue and guide to there? |
@buncis I don't want to open the wiki because the wiki is too difficult to keep managed. Opening the discussion can be acceptable, but I believe README is appropriate for mentioning the way to resolve this problem. I want to know what information you needed is absent in the current README. Could you please tell me about it? |
all the buildpacks mentioned in the readme is too old for newer
applications or just doesn't works because its not updated
the only solution is to make ur own buildpacks or recompile the heroku
default buildpack with --enable-shared options
…On Thu, Feb 10, 2022, 10:15 AM Kenta Murata ***@***.***> wrote:
@buncis <https://github.com/buncis> I don't want to open the wiki because
the wiki is too difficult to keep managed. Opening the discussion can be
acceptable, but I believe README is appropriate for mentioning the way to
resolve this problem.
I want to know what information you needed is absent in the current
README. Could you please tell me about it?
—
Reply to this email directly, view it on GitHub
<#151 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADMZEW34UC6JDFZWHKDLVKDU2MUWHANCNFSM5BI2A4IA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: <mrkn/pycall
.***@***.***>
|
@buncis Thanks. I understand. It should be described in README and I want to do so. Could you please make a pull request to update the Heroku section in README? |
I wish, but I can't do it right now, I'll do it later |
@buncis No problem. Thank you very much! |
when I want to deploy to heroku
the application always failed to build with this error message
heroku logs -t
The text was updated successfully, but these errors were encountered: