I was looking for a quick solution to see cricket scores from my college without having to use proxies. I thought I would design one myself using Python and host it in Heroku. That's how this project was born.
You can check the site here. I kept the design as minimal as possible to avoid attracting any unnecessary attention.
I had to do the following steps to get Flask running on Heroku: installed toolbet.
- use
source bin/activatefor swiching to virtualenv in the flask folder - use
which pythonto verify - use
./run.pyto run the app. pip install BeautifulSoup4git addall files in the folder except bin, include, lib, local and tmp dirs- create requirements.txt file.
- I used
pip freeze>requirements.txt - Create Procfile with contents as
web: gunicorn app:app