Category : heroku

I have just deployed my Django application to Heroku, All my locally saved apps load fine but not the django admin page # mysite/urls.py from django.contrib import admin from django.urls import path, include from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path(”, include(‘home.urls’)), path(‘api/’, include(‘api.urls’)), path(‘admin/’, admin.site.urls), # … ] + static(settings.MEDIA_URL, ..

Read more

So I have deployed my Django project to Heroku, and now trying to migrate the database. I have everything working fine in my local sever. Then I tried to run the commands in heroku, as below. python manage.py makemigrations This worked fine. Migrations for ‘app_name’: contentsmigrations{$content}01_initial.py – Create model Book – Create model Category – ..

Read more

I am trying to deploy the flask swagger server generated from swaggerhub, below is my folder structure and procfile i use. Does any one knows the way to deploy this flask swagger server in heroku? project │ swagger-codegen │ └───swagger_server │ │___controllers | |___models │ │___swagger | |___test │ __init__.py | __main__.py │ encoder.py | ..

Read more

Flask App works fine locally and even succeeded Build. I just can’t understand this error. Logs: 2021-07-18T10:28:35.000000+00:00 app[api]: Build succeeded 2021-07-18T10:28:42.023914+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=appname.herokuapp.com request_id=24g1h015-2591-4c3e-9887-c6767d50ec51 fwd="116.88.77.105" dyno= connect= service= status=503 bytes= protocol=https 2021-07-18T10:28:42.464216+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=appname.herokuapp.com request_id=50f62645-ac6e-487a-2491-985f9ad6b329 fwd="116.88.77.105" dyno= connect= service= ..

Read more