Ritu Singh
Problem:
App hosted in HEROKU doesn't run weather.py (simple code), not Flask or Django
Dear all, Im just new to python
My problem: App hosted in HEROK doesn't run
weather.py (simple code), not flask or Django. App will not respond for any http request
I already prepared Profile worker: python weather.py
requirements.txt
I pushed source code to Heroku successfully, but Python file didn't work as I had expected
I wonder if Heroku can host an app or only host web apps. I really need advice from you all
Thanks
Solution:
You have set the MONGODB_URI environment variable in Heroku to point to your MongoHQ database. Add the code to the top of your Flask app:
Suggested blogs:
>Can not run phpstan under docker with memory lack error
>Attempt to read property "data_audit" on array laravel view loop foreach
>How to use start and limit on DataTables in Laravel for mobile API?
>Login to Laravel API- Laravel
>Make Xdebug stop at breakpoints in PhpStorm using Docker
>Creating a service in Laravel using app(FQCN)