Deploy Python apps ** Corona Virus Dashboard ** to SAP Cloud Platform

Veröffentlicht am: 07 April 2020
auf dem Kanal: John Eswin Nizar
342
6

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


Auf dieser Seite können Sie das Online-Video Deploy Python apps ** Corona Virus Dashboard ** to SAP Cloud Platform mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer John Eswin Nizar 07 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 342 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!