>From the looks of it, it seems that in your procfile you need to point to
the *exact* location gunicorn is installed in. So this could be somewhere
like ~/.local/lib/pythonx.y/site-packages/gunicorn directory on your heroku
instance (if it’s a Linux filesystem... I don’t remember what heroku uses
exactly).

Also yes, always use environment variables to import your passwords,
security keys etc. in deployment.

On Mon, Mar 25, 2019 at 3:07 AM Aakash Baranwal <[email protected]>
wrote:

> Hi, I am Aakash. I have been working on a project which i want to deploy
> on heroku, but i have been facing some issues. I searched for solutions on
> the internet but none of them helped me.
>
> I, request you to kindly help me with the deployment.
>
> Pfa the settings.py, asgi.py , wsgi.py , Procfile.
> Also, please check line no 34 in settings.py for the EMAIL_HOST_PASSWORD,
> if I am doing it the right way or it should be done as commented in the
> same line after the code.
>
> As you will see in the terminal, it says Starting ASGI channels, so do i
> need the wsgi.py file anymore or should i run it with WSGI instead of ASGI?
>
> When I push it into the heroku server and run the application, it does not
> run and in the heroku logs the error which it shows is :
>
>  at=error code=H10 desc="App crashed" method=GET path="/" host=
> vibex.herokuapp.com request_id=3211546f-5081-4233-b016-428493e611c1
> fwd="139.167.172.83" dyno= connect= service= status=503 bytes= protocol=http
>
> and it also shows  bash: gunicorn: command not found
> which I have installed on my computer as well as by using heroku run pip
> install gunicorn.
>
> I shall be extremely thankful for your help.
>
> Thanks in advance
>
> With Kind Regards
> Aakash
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALr9hQ12oZ4C1L6BtYyPGbQuwrezaeWzd8x9JkLXE8jM80nM5A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALr9hQ12oZ4C1L6BtYyPGbQuwrezaeWzd8x9JkLXE8jM80nM5A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKizqR6PP%2BROesNLjjXLWfX%3Dz8FdL4NJXqTpDtNzrkesYRYcsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to