"App crashed" Django and Node together on Heroku

158 views Asked by At

I followed this post

enter link description here

All the display goes without errors, but the logs. says this.

at=error code=H10 desc="App crashed"

My django project has the following structure .

**djangoproject**
  |--settings.py
  |--wsgi
**djangoapp**
manage.py
package.json
server.js
**node_modules**
Procfile
Procfile.web
requirements.txt

The content for WSGI:

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoynode.settings")

application = get_wsgi_application()

The content for Procfile:

web: bin/runsvdir-dyno

The content for Procfile.web:

django: gunicorn djangoynode.wsgi
node: node server.js

The content for .buildpacks:

https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-python.git

also I have .

heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

I am a beginner , thank you in advance for any help or correction for something to help me remove the error.

0

There are 0 answers