1. git clone https://github.com/karimkhanp/corona-...
2. Create file manifest.yml
---
applications:
name: covid19-dashboard
memory: 1024MB
random-route: true
3. Create file requirement.txt
flask
requests
beautifulsoup4
4. Create file Procfile
web: python main.py
5. Create file runtime.txt
python-3.6.10
6. modif file main.py
import os
cf_port = os.getenv("PORT")
if _name_ == '__main__':
if cf_port is None:
app.run(host='0.0.0.0', port=5001)
else:
app.run(host='0.0.0.0', port=int(cf_port))
7. cf push