Skip to content

InstaClient and Heroku #18

Answered by davidwickerhf
efalloon asked this question in Q&A
Discussion options

You must be logged in to vote

I'm incredibly sorry for the late reply...
I have already setup the instaclient for Heroku, so you can set it directly through the initialization of the InstaClient object

You also need to do a bit of setup on Heroku:
You need to add 2 variables to your Heroku app's secrets via Heroku settings:

heroku config:set GOOGLE_CHROME_BIN=/app/.apt/usr/bin/google_chrome

heroku config:set CHROMEDRIVER_PATH=/app/.chromedriver/bin/chromedriver

Finally, you also need to add 2 buildbacks to the Heroku app:

heroku buildpacks:add --index 1 https://github.com/heroku-buildpack-chromedriver

heroku buildpacks:add --index 2 https://github.com/heroku-buildpack-chromedriver

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidwickerhf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants