Skip to content
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

Heroku Help #1

Open
jhleath opened this issue Oct 29, 2014 · 1 comment
Open

Heroku Help #1

jhleath opened this issue Oct 29, 2014 · 1 comment

Comments

@jhleath
Copy link
Contributor

jhleath commented Oct 29, 2014

I think you need to run:

heroku ps:scale web=1

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.

@jhleath
Copy link
Contributor Author

jhleath commented Nov 3, 2014

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/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant