Hi Constantine,
I did such changes because Gunicorn does not work on Windows, as the
article itself states. And the psycopg2==2.5.3 does not work with Visual
Studio Community 2015.
Your comment made me have an idea. I'll try to deploy with psycopg2 instead
of gunicorn. It is a sample blog for
Hi Aline,
I thought that an initial idea of running application with `heroku local`
is to check how it can run in heroku.
Why did you change the Procfile in such a way?
It supposed to use it the same as for heroku.
Can you please try with Procfile without any local specific modifications?
Hello, Constantine,
I have already followed this article and using `heroku local` the app runs
fine. However, some things I did different:
(i) I used psycopg2==2.6.2 instead of psycopg2==2.5.3, because the 2.5.3
version do not works with Visual Studio Community 2015.
(ii) On my Procfile I put:
Hello Antony,
This is the link to the Poll App:
https://github.com/alinecrsouza/django-polls-app
The changes I made on the imports (change to polls.models instead of
.models), I made directly on my virtualenv, I didn't change the polls app
code. I was afraid of losing some of my previous work
Hi Aline,
I have encountered the problem described by you as well. I am using heroku
for about 5 django projects.
For some reason this problem does not exist when you run django server with
manage.py command.
Try to read that heroku
Hello,
> Link to the repo: https://github.com/alinecrsouza/django-blog-app
that repo only contains the blog app. Could you show us the polls app?
Regards,
Antonis Christofides
http://djangodeployment.com
On 2016-10-20 22:49, Aline C. R. Souza wrote:
> Hello everybody,
>
> I am catching an
Hello everybody,
I am catching an error on trying to deploy my app on heroku. This is the
traceback:
File "/app/.heroku/python/lib/python3.5/site-packages/polls/admin.py",
line 3, in
2016-10-20T18:42:46.734824+00:00 app[web.1]: File
7 matches
Mail list logo