You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I fixed some merge conflicts in Scraper.py, fixed your dependencies in reqiurements.txt, and updated your main flask file to run on an external interface on the port for Heroku.
Now, it appears that it will not run on Heroku because of regular errors in the codebase. Namely, it is looking for some file data/champions/all_history.json that doesn't exist. If you can figure out why that makes it crash, then you should be golden to upload to Heroku.
The crash occurs in LOLPage.py on line 146 in the body of loadAllHistory().
Note: I added the data/ directory to the .gitignore file, so whatever you put in there will not be uploaded to Heroku. If you want to change that, remove the line in .gitignore that says data/.
I think you need to run:
Also, ensure that you are running the server on the port specified by the environmental variable PORT so that you can access it through Heroku.
The text was updated successfully, but these errors were encountered: