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

Pubblicato il: 07 aprile 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Deploy Python apps ** Corona Virus Dashboard ** to SAP Cloud Platform della durata di ore minuti seconda in buona qualità , che l'utente ha caricato John Eswin Nizar 07 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 342 volte e gli è piaciuto 6 spettatori. Buona visione!