Monday, May 4, 2015

Re: Deploying django

Thanks for the answer, what are this configuration files that you speak of? I really don't know much about this whole deployment thing. From what i remenber i configured apache configuration and something called available-sites...


On Sunday, 3 May 2015 22:24:07 UTC+1, Fellipe Henrique wrote:
Hey man!!

In my setup, I use this: Gunicorn + nginx + supervisor

Please, share your confs files.. without them we can't help a lot!

T.·.F.·.A.·.     S+F
Fellipe Henrique P. Soares

e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
Twitter: @fh_bash

On Sun, May 3, 2015 at 5:08 PM, João Marques <joao669...@gmail.com> wrote:
Hey there guys, I'm starting to lose my hope in deploying my django project to a vps. Here is what I've done so far (notice that i'm a newbie and this is the first time): I've created my virtualenv and installed pip, django, mysqldb package and nginx (i think). I followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-local-django-app-to-a-vps

There were, although a few missing points on the tutorial like on the gunicorn set-up, the command that's listed on the tutorial is outdated and, even with the help of gunicorn's documentation, I couldn't figure it out.

Now what happens when I run the server in "debug = False" is an error 500. Without the "debug = False" I get this:'Empty static prefix not permitted'.

Can you recommend me a good tutorial for me to follow?

ps. I still need to use this http://37.59.114.190:8001/ with the port, but I believe that is because of the gunicorn that i didn't set up.
Thank you so much for your time,

João Marques

--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/79f73903-55d1-4c4c-a1d1-4a477bfd41ff%40googlegroups.com.
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b8f0a752-4a83-48d3-aaea-99987c171dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment