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

Publicado el: 07 abril 2020
en el canal de: 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


En esta página del sitio puede ver el video en línea Deploy Python apps ** Corona Virus Dashboard ** to SAP Cloud Platform de Duración hora minuto segunda en buena calidad , que subió el usuario John Eswin Nizar 07 abril 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 342 veces y le gustó 6 a los espectadores. Disfruta viendo!