alfredfrancis / ai-chatbot-framework

A python chatbot framework with Natural Language Understanding and Artificial Intelligence.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heroku deployment fails

johncade opened this issue · comments

Hi, I am running into issues trying to deploy the flask app to heroku. I initially tried a docker deployment, but that failed because heroku does not support multi container docker deployments.
Since there is the nifty heroku button on the readme, I attempted deploying through that, and it failed. At first the deployment failed because the Procfile references a setup.py file that does not exist. I removed the call from the Procfile and changed it to:

web: APPLICATION_ENV="Production" gunicorn -k gevent run:app

With that change, I managed to get the app started, but it then failed on nltk installation. What am I missing? Any help would be greatly appreciated. Thanks!